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

Unified Diff: chrome/browser/net/chrome_url_request_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: chrome/browser/net/chrome_url_request_context.h
diff --git a/chrome/browser/net/chrome_url_request_context.h b/chrome/browser/net/chrome_url_request_context.h
index 16fdbb9d1850b32879bce573a6c5698dc4f9c863..97141211d67196c065d1de3be46df961df1f97be 100644
--- a/chrome/browser/net/chrome_url_request_context.h
+++ b/chrome/browser/net/chrome_url_request_context.h
@@ -9,6 +9,7 @@
#include "base/memory/scoped_ptr.h"
#include "base/prefs/public/pref_change_registrar.h"
+#include "chrome/browser/profiles/storage_partition_descriptor.h"
mmenke 2012/10/30 18:27:15 This shouldn't be needed, with the forward declara
nasko 2012/10/30 19:55:25 Done.
#include "content/public/browser/notification_observer.h"
#include "content/public/browser/notification_registrar.h"
#include "net/url_request/url_request_context.h"
@@ -20,6 +21,7 @@ class ChromeURLRequestContextFactory;
class IOThread;
class Profile;
class ProfileIOData;
+struct StoragePartitionDescriptor;
namespace chrome_browser_net {
class LoadTimeStats;
@@ -145,7 +147,7 @@ class ChromeURLRequestContextGetter : public net::URLRequestContextGetter,
static ChromeURLRequestContextGetter* CreateOriginalForIsolatedApp(
Profile* profile,
const ProfileIOData* profile_io_data,
- const std::string& app_id,
+ const StoragePartitionDescriptor& partition_descriptor,
scoped_ptr<net::URLRequestJobFactory::Interceptor>
protocol_handler_interceptor);
@@ -155,7 +157,7 @@ class ChromeURLRequestContextGetter : public net::URLRequestContextGetter,
Profile* profile,
ChromeURLRequestContextGetter* app_context,
const ProfileIOData* profile_io_data,
- const std::string& app_id);
+ const StoragePartitionDescriptor& partition_descriptor);
// Create an instance for use with an OTR profile. This is expected to get
// called on the UI thread.
@@ -172,7 +174,7 @@ class ChromeURLRequestContextGetter : public net::URLRequestContextGetter,
static ChromeURLRequestContextGetter* CreateOffTheRecordForIsolatedApp(
Profile* profile,
const ProfileIOData* profile_io_data,
- const std::string& app_id,
+ const StoragePartitionDescriptor& partition_descriptor,
scoped_ptr<net::URLRequestJobFactory::Interceptor>
protocol_handler_interceptor);

Powered by Google App Engine
This is Rietveld 408576698