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

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: remove file 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 cd956bb768f0764bcd59bac4ee8c170ef61603c4..56d6a5e009b7bac52104b2bacf2fa3ccc87dffce 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();

Powered by Google App Engine
This is Rietveld 408576698