| 140 | } |
| 141 | |
| 142 | void BrowserFactory::ClearCache() { |
| 143 | LOG(TRACE) << "Entering BrowserFactory::ClearCache"; |
| 144 | if (this->clear_cache_) { |
| 145 | if (IsWindowsVistaOrGreater()) { |
| 146 | LOG(DEBUG) << "Clearing cache with low mandatory integrity level as required on Windows Vista or later."; |
| 147 | this->InvokeClearCacheUtility(true); |
| 148 | } |
| 149 | LOG(DEBUG) << "Clearing cache with normal process execution."; |
| 150 | this->InvokeClearCacheUtility(false); |
| 151 | } |
| 152 | } |
| 153 | |
| 154 | DWORD BrowserFactory::LaunchBrowserProcess(std::string* error_message) { |
| 155 | LOG(TRACE) << "Entering BrowserFactory::LaunchBrowserProcess"; |
no test coverage detected