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

Unified Diff: chrome/browser/profiles/profile.cc

Issue 10657009: Removing last usage of default request context. Fixing up login_utils to not need it by allowing ac… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 5 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: chrome/browser/profiles/profile.cc
===================================================================
--- chrome/browser/profiles/profile.cc (revision 145957)
+++ chrome/browser/profiles/profile.cc (working copy)
@@ -19,10 +19,6 @@
#include "chrome/common/chrome_switches.h"
#endif
-// A pointer to the request context for the default profile. See comments on
-// Profile::GetDefaultRequestContext.
-net::URLRequestContextGetter* Profile::default_request_context_;
-
Profile::Profile()
: restored_last_session_(false),
accessibility_pause_level_(0) {
@@ -94,10 +90,6 @@
#endif
}
-// static
-net::URLRequestContextGetter* Profile::GetDefaultRequestContext() {
- return default_request_context_;
-}
std::string Profile::GetDebugName() {
std::string name = GetPath().BaseName().MaybeAsASCII();

Powered by Google App Engine
This is Rietveld 408576698