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

Unified Diff: net/url_request/url_request_context.h

Issue 16408: Refactor the two URLRequestContext subclasses in profile.cc into a new shared (Closed)
Patch Set: aa@chromium.org Created 12 years 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 | « chrome/browser/profile.cc ('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_context.h
diff --git a/net/url_request/url_request_context.h b/net/url_request/url_request_context.h
index 5ea25dbace313d28dc5a452a2d20b80aded0eb5a..ee05c9d93d9e7b6b4428f86058fa5fd7bf0540b6 100644
--- a/net/url_request/url_request_context.h
+++ b/net/url_request/url_request_context.h
@@ -31,8 +31,7 @@ class URLRequestContext :
URLRequestContext()
: proxy_service_(NULL),
http_transaction_factory_(NULL),
- cookie_store_(NULL),
- is_off_the_record_(false) {
+ cookie_store_(NULL) {
}
// Get the proxy service for this context.
@@ -63,9 +62,6 @@ class URLRequestContext :
// Gets the value of 'Accept-Language' header field.
const std::string& accept_language() const { return accept_language_; }
- // Returns true if this context is off the record.
- bool is_off_the_record() { return is_off_the_record_; }
-
// Do not call this directly. TODO(darin): extending from RefCounted* should
// not require a public destructor!
virtual ~URLRequestContext() {}
@@ -79,7 +75,6 @@ class URLRequestContext :
net::CookiePolicy cookie_policy_;
net::AuthCache ftp_auth_cache_;
std::string user_agent_;
- bool is_off_the_record_;
std::string accept_language_;
std::string accept_charset_;
« no previous file with comments | « chrome/browser/profile.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698