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

Unified Diff: net/url_request/url_request_http_job.cc

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
« no previous file with comments | « ios/chrome/browser/ios_chrome_io_thread.mm ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/url_request/url_request_http_job.cc
diff --git a/net/url_request/url_request_http_job.cc b/net/url_request/url_request_http_job.cc
index 589379a329c305c1c8cfa3aa64e30aa206b49ca5..beed2318707251407e3f9024ab5b9395d899396e 100644
--- a/net/url_request/url_request_http_job.cc
+++ b/net/url_request/url_request_http_job.cc
@@ -140,7 +140,8 @@ void LogChannelIDAndCookieStores(const GURL& url,
ephemerality = CID_EPHEMERAL_COOKIE_PERSISTENT;
}
} else if (cookie_store->IsEphemeral()) {
- NOTREACHED();
+ // TODO(crbug.com/599049): Add NOTREACHED once this case doesn't happen on
+ // iOS anymore.
ephemerality = CID_PERSISTENT_COOKIE_EPHEMERAL;
} else if (cookie_store->GetChannelIDServiceID() == -1) {
ephemerality = PERSISTENT_UNKNOWN;
« no previous file with comments | « ios/chrome/browser/ios_chrome_io_thread.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698