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

Unified Diff: net/url_request/url_request_context.h

Issue 2103383002: Remove dead debug code from URLRequestContext (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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 | net/url_request/url_request_context.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/url_request/url_request_context.h
diff --git a/net/url_request/url_request_context.h b/net/url_request/url_request_context.h
index 498c7dfdcc8512e51dbc4f8b69b479ba30a9cffa..5eb2884c9c51c404c4cbba14655757f16d78955c 100644
--- a/net/url_request/url_request_context.h
+++ b/net/url_request/url_request_context.h
@@ -226,21 +226,6 @@ class NET_EXPORT URLRequestContext
network_quality_estimator_ = network_quality_estimator;
}
- // This is a temporary flag to aid in debugging crbug.com/548423. A
- // CookieStore that is persisted shouldn't be used with a ChannelIDStore that
- // is ephemeral, but there are occasional cases where that is ok. This method
- // returns whether this URLRequestContext is in a situation where the
- // ephemerality of the stores don't match and it has been determined that it
- // is ok to do that. This helps in logging to filter legitimate cases of this
- // mismatch from other cases.
- bool has_known_mismatched_cookie_store() const {
- return has_known_mismatched_cookie_store_;
- }
-
- void set_has_known_mismatched_cookie_store() {
- has_known_mismatched_cookie_store_ = true;
- }
-
void set_enable_brotli(bool enable_brotli) { enable_brotli_ = enable_brotli; }
bool enable_brotli() const { return enable_brotli_; }
@@ -280,7 +265,6 @@ class NET_EXPORT URLRequestContext
// ---------------------------------------------------------------------------
std::unique_ptr<std::set<const URLRequest*>> url_requests_;
- bool has_known_mismatched_cookie_store_;
// Enables Brotli Content-Encoding support.
bool enable_brotli_;
« no previous file with comments | « no previous file | net/url_request/url_request_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698