Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3357)

Unified Diff: chrome/browser/net/url_request_mock_util.cc

Issue 845973005: [New Tab Page] Change the mechanism to intercept online NTP errors (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: moved to profile_io_data Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/net/url_request_mock_util.cc
diff --git a/chrome/browser/net/url_request_mock_util.cc b/chrome/browser/net/url_request_mock_util.cc
index 29e359db44e2a9e96978a0031be331e643ff4e10..8b6f0802c57e91b7da7d29f594954b41931b59f8 100644
--- a/chrome/browser/net/url_request_mock_util.cc
+++ b/chrome/browser/net/url_request_mock_util.cc
@@ -37,8 +37,8 @@ void SetUrlRequestMocksEnabled(bool enabled) {
base::FilePath root_http;
PathService::Get(chrome::DIR_TEST_DATA, &root_http);
- net::URLRequestMockHTTPJob::AddUrlHandler(root_http,
- BrowserThread::GetBlockingPool());
+ net::URLRequestMockHTTPJob::AddUrlHandlers(
+ root_http, BrowserThread::GetBlockingPool());
} else {
// Revert to the default handlers.
net::URLRequestFilter::GetInstance()->ClearHandlers();
« no previous file with comments | « chrome/browser/browsing_data/browsing_data_remover_browsertest.cc ('k') | chrome/browser/policy/policy_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698