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

Unified Diff: content/public/browser/browser_context.h

Issue 11147026: Initial refactor to get profiles to propagate storage partition details. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixing Android's BrowserContext. Created 8 years, 2 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: content/public/browser/browser_context.h
diff --git a/content/public/browser/browser_context.h b/content/public/browser/browser_context.h
index 39622651875142ca4aa7be8079d8c70ab58458ce..79640f08e9d4d00144482b91cd846f0fa202e3f2 100644
--- a/content/public/browser/browser_context.h
+++ b/content/public/browser/browser_context.h
@@ -94,7 +94,8 @@ class CONTENT_EXPORT BrowserContext : public base::SupportsUserData {
int renderer_child_id) = 0;
virtual net::URLRequestContextGetter* GetRequestContextForStoragePartition(
- const std::string& partition_id) = 0;
+ const FilePath& partition_path,
+ bool in_memory) = 0;
// Returns the default request context for media resources associated with
// this context.
@@ -107,7 +108,8 @@ class CONTENT_EXPORT BrowserContext : public base::SupportsUserData {
int renderer_child_id) = 0;
virtual net::URLRequestContextGetter*
GetMediaRequestContextForStoragePartition(
- const std::string& partition_id) = 0;
+ const FilePath& partition_path,
+ bool in_memory) = 0;
// Returns the resource context.
virtual ResourceContext* GetResourceContext() = 0;

Powered by Google App Engine
This is Rietveld 408576698