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

Unified Diff: chrome/browser/extensions/api/web_request/web_request_api_unittest.cc

Issue 1818613002: Implement UMA log throttling for cellular connections (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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
« no previous file with comments | « no previous file | chrome/browser/io_thread.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/api/web_request/web_request_api_unittest.cc
diff --git a/chrome/browser/extensions/api/web_request/web_request_api_unittest.cc b/chrome/browser/extensions/api/web_request/web_request_api_unittest.cc
index 5ee161ff3574aba5e662155278c7d46f254612c8..0b4d32b4949e99c3865e3f446903449ae5177ae9 100644
--- a/chrome/browser/extensions/api/web_request/web_request_api_unittest.cc
+++ b/chrome/browser/extensions/api/web_request/web_request_api_unittest.cc
@@ -193,7 +193,8 @@ class ExtensionWebRequestTest : public testing::Test {
&enable_referrers_, NULL, NULL, NULL,
profile_.GetTestingPrefService());
network_delegate_.reset(
- new ChromeNetworkDelegate(event_router_.get(), &enable_referrers_));
+ new ChromeNetworkDelegate(event_router_.get(), &enable_referrers_,
+ metrics::UpdateUsagePrefCallbackType()));
network_delegate_->set_profile(&profile_);
network_delegate_->set_cookie_settings(
CookieSettingsFactory::GetForProfile(&profile_).get());
@@ -871,7 +872,8 @@ class ExtensionWebRequestHeaderModificationTest
&enable_referrers_, NULL, NULL, NULL,
profile_.GetTestingPrefService());
network_delegate_.reset(
- new ChromeNetworkDelegate(event_router_.get(), &enable_referrers_));
+ new ChromeNetworkDelegate(event_router_.get(), &enable_referrers_,
+ metrics::UpdateUsagePrefCallbackType()));
network_delegate_->set_profile(&profile_);
network_delegate_->set_cookie_settings(
CookieSettingsFactory::GetForProfile(&profile_).get());
« no previous file with comments | « no previous file | chrome/browser/io_thread.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698