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

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

Issue 10108026: Transmit a X-Chrome-UMA-Enabled bit to Google domains from clients that have UMA enabled. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: MAD comment Created 8 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/google/google_util.h » ('j') | chrome/browser/google/google_util_unittest.cc » ('J')
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 127d56137642bf6795f3dca8c00ae1ebafadc9e3..b74036d87195ba608ee1cdbecdb91c4c60b0b134 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
@@ -126,7 +126,8 @@ class ExtensionWebRequestTest : public testing::Test {
prefs::kEnableReferrers, profile_.GetTestingPrefService(), NULL);
network_delegate_.reset(new ChromeNetworkDelegate(
event_router_.get(), NULL, NULL, &profile_,
- CookieSettings::Factory::GetForProfile(&profile_), &enable_referrers_));
+ CookieSettings::Factory::GetForProfile(&profile_), false,
Ilya Sherman 2012/04/17 20:55:39 nit: Please use an enumerated constant so that me
SteveT 2012/04/19 18:38:01 Done.
+ &enable_referrers_));
context_ = new TestURLRequestContext();
context_->set_network_delegate(network_delegate_.get());
}
@@ -443,7 +444,8 @@ class ExtensionWebRequestHeaderModificationTest :
prefs::kEnableReferrers, profile_.GetTestingPrefService(), NULL);
network_delegate_.reset(new ChromeNetworkDelegate(
event_router_.get(), NULL, NULL, &profile_,
- CookieSettings::Factory::GetForProfile(&profile_), &enable_referrers_));
+ CookieSettings::Factory::GetForProfile(&profile_), false,
+ &enable_referrers_));
context_ = new TestURLRequestContext();
context_->set_network_delegate(network_delegate_.get());
}
« no previous file with comments | « no previous file | chrome/browser/google/google_util.h » ('j') | chrome/browser/google/google_util_unittest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698