Index: chrome/browser/profiles/profile.cc |
=================================================================== |
--- chrome/browser/profiles/profile.cc (revision 145994) |
+++ chrome/browser/profiles/profile.cc (working copy) |
@@ -19,6 +19,10 @@ |
#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) { |
@@ -90,6 +94,10 @@ |
#endif |
} |
+// static |
+net::URLRequestContextGetter* Profile::GetDefaultRequestContext() { |
+ return default_request_context_; |
+} |
std::string Profile::GetDebugName() { |
std::string name = GetPath().BaseName().MaybeAsASCII(); |