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

Unified Diff: ios/chrome/browser/ios_chrome_io_thread.mm

Issue 1842933003: Disable LogChannelIDAndCookieStores NOTREACHED. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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: ios/chrome/browser/ios_chrome_io_thread.mm
diff --git a/ios/chrome/browser/ios_chrome_io_thread.mm b/ios/chrome/browser/ios_chrome_io_thread.mm
index 1cd36dab8827519749fbe6b3fe7dbff9430bcee9..46f014e1c5811f3707257846b5498a685a550cde 100644
--- a/ios/chrome/browser/ios_chrome_io_thread.mm
+++ b/ios/chrome/browser/ios_chrome_io_thread.mm
@@ -447,6 +447,8 @@ void IOSChromeIOThread::Init() {
globals_->system_channel_id_service.reset(
new net::ChannelIDService(new net::DefaultChannelIDStore(nullptr),
base::WorkerPool::GetTaskRunner(true)));
+ globals_->system_cookie_store->SetChannelIDServiceID(
+ globals_->system_channel_id_service->GetUniqueID());
globals_->http_user_agent_settings.reset(new net::StaticHttpUserAgentSettings(
std::string(), web::GetWebClient()->GetUserAgent(false)));
if (command_line.HasSwitch(switches::kIOSTestingFixedHttpPort)) {

Powered by Google App Engine
This is Rietveld 408576698