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

Unified Diff: chrome/browser/profiles/profile.h

Issue 6880089: Don't hold the installed app in BrowserProcessRenderHost, since that's in content layer now. Ext... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix browser tests Created 9 years, 8 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
« no previous file with comments | « chrome/browser/notifications/balloon_host.cc ('k') | chrome/browser/profiles/profile.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/profiles/profile.h
===================================================================
--- chrome/browser/profiles/profile.h (revision 82593)
+++ chrome/browser/profiles/profile.h (working copy)
@@ -333,13 +333,14 @@
// happen on the UI thread.
virtual net::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().
+ // Returns the request context appropriate for the given renderer. If the
+ // renderer process doesn't have an assosicated installed app, or if the
+ // installed app's is_storage_isolated() returns false, this is equivalent to
+ // calling GetRequestContext().
// TODO(creis): After isolated app storage is no longer an experimental
// feature, consider making this the default contract for GetRequestContext.
- virtual net::URLRequestContextGetter* GetRequestContextForPossibleApp(
- const Extension* installed_app) = 0;
+ virtual net::URLRequestContextGetter* GetRequestContextForRenderProcess(
+ int renderer_child_id) = 0;
// Returns the request context for media resources asociated with this
// profile.
« no previous file with comments | « chrome/browser/notifications/balloon_host.cc ('k') | chrome/browser/profiles/profile.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698