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

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: Changing bool param to pass by reference. 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 3856dfa52cdf9556b4ca90c764f98e3338c0c6f9..7a24bbd6c9969793717476f19f191b7cd889e9cd 100644
--- a/chrome/browser/net/chrome_url_request_context.h
+++ b/chrome/browser/net/chrome_url_request_context.h
@@ -20,6 +20,7 @@ class ChromeURLRequestContextFactory;
class IOThread;
class Profile;
class ProfileIOData;
+struct StoragePartitionDetails;
namespace chrome_browser_net {
class LoadTimeStats;
@@ -145,7 +146,7 @@ class ChromeURLRequestContextGetter : public net::URLRequestContextGetter,
static ChromeURLRequestContextGetter* CreateOriginalForIsolatedApp(
Profile* profile,
const ProfileIOData* profile_io_data,
- const std::string& app_id,
+ const StoragePartitionDetails& partition_details,
scoped_ptr<net::URLRequestJobFactory::Interceptor>
protocol_handler_interceptor);
@@ -155,7 +156,7 @@ class ChromeURLRequestContextGetter : public net::URLRequestContextGetter,
Profile* profile,
ChromeURLRequestContextGetter* app_context,
const ProfileIOData* profile_io_data,
- const std::string& app_id);
+ const StoragePartitionDetails& partition_details);
// Create an instance for use with an OTR profile. This is expected to get
// called on the UI thread.
@@ -172,7 +173,7 @@ class ChromeURLRequestContextGetter : public net::URLRequestContextGetter,
static ChromeURLRequestContextGetter* CreateOffTheRecordForIsolatedApp(
Profile* profile,
const ProfileIOData* profile_io_data,
- const std::string& app_id,
+ const StoragePartitionDetails& partition_details,
scoped_ptr<net::URLRequestJobFactory::Interceptor>
protocol_handler_interceptor);

Powered by Google App Engine
This is Rietveld 408576698