| Index: chrome/browser/profiles/profile.h
|
| diff --git a/chrome/browser/profiles/profile.h b/chrome/browser/profiles/profile.h
|
| index 8c8016450071a64b9f9929ca70a8e306ce8b9c94..746cd7e18db823d33cacbbe1186d758372783004 100644
|
| --- a/chrome/browser/profiles/profile.h
|
| +++ b/chrome/browser/profiles/profile.h
|
| @@ -347,6 +347,12 @@ class Profile {
|
| // happen on the UI thread.
|
| virtual URLRequestContextGetter* GetRequestContext() = 0;
|
|
|
| + // Returns the request context appropriate for the given app. If installed_app
|
| + // is null or installed_app->is_storage_isolated() returns false, this is
|
| + // equivalent to calling GetRequestContext().
|
| + virtual URLRequestContextGetter* GetRequestContextForPossibleApp(
|
| + const Extension* installed_app) = 0;
|
| +
|
| // Returns the request context for media resources asociated with this
|
| // profile.
|
| virtual URLRequestContextGetter* GetRequestContextForMedia() = 0;
|
| @@ -355,6 +361,11 @@ class Profile {
|
| // is only used for a separate cookie store currently.
|
| virtual URLRequestContextGetter* GetRequestContextForExtensions() = 0;
|
|
|
| + // Returns the request context used within an installed app that has
|
| + // requested isolated storage.
|
| + virtual URLRequestContextGetter* GetRequestContextForIsolatedApp(
|
| + const Extension* installed_app) = 0;
|
| +
|
| // Called by the ExtensionService that lives in this profile. Gives the
|
| // profile a chance to react to the load event before the EXTENSION_LOADED
|
| // notification has fired. The purpose for handling this event first is to
|
|
|