Index: content/public/browser/browser_context.h |
diff --git a/content/public/browser/browser_context.h b/content/public/browser/browser_context.h |
index 699b8ca2e87f4ff391f3f9eefc6cea0c46dba4e4..fb34686cfaa4b0ace61327a564284ae590d8f399 100644 |
--- a/content/public/browser/browser_context.h |
+++ b/content/public/browser/browser_context.h |
@@ -99,6 +99,8 @@ |
std::unique_ptr<base::hash_set<base::FilePath>> active_paths, |
const base::Closure& done); |
+ // DON'T USE THIS. GetDefaultStoragePartition() is going away. |
+ // Use GetStoragePartition() instead. Ask ajwong@ if you have problems. |
static content::StoragePartition* GetDefaultStoragePartition( |
BrowserContext* browser_context); |
@@ -163,6 +165,12 @@ |
// Return whether this context is incognito. Default is false. |
virtual bool IsOffTheRecord() const = 0; |
+ |
+ // Returns the request context information associated with this context. Call |
+ // this only on the UI thread, since it can send notifications that should |
+ // happen on the UI thread. |
+ // TODO(creis): Remove this version in favor of the one below. |
+ virtual net::URLRequestContextGetter* GetRequestContext() = 0; |
// Returns the default request context for media resources associated with |
// this context. |