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

Unified Diff: apps/app_window_contents.h

Issue 157813007: Remove Profile dependency from apps::ShellWindow (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix test Created 6 years, 10 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: apps/app_window_contents.h
diff --git a/apps/app_window_contents.h b/apps/app_window_contents.h
index 80b95de3d6793ed4f67686184e9d431dcddda17a..ea09f831840c3b4a97f5cb16ec2a133bfc92c8ea 100644
--- a/apps/app_window_contents.h
+++ b/apps/app_window_contents.h
@@ -17,7 +17,7 @@
class GURL;
namespace content {
-class RenderViewHost;
+class BrowserContext;
}
namespace extensions {
@@ -38,7 +38,8 @@ class AppWindowContents : public ShellWindowContents,
virtual ~AppWindowContents();
// ShellWindowContents
- virtual void Initialize(Profile* profile, const GURL& url) OVERRIDE;
+ virtual void Initialize(content::BrowserContext* context,
+ const GURL& url) OVERRIDE;
virtual void LoadContents(int32 creator_process_id) OVERRIDE;
virtual void NativeWindowChanged(NativeAppWindow* native_app_window) OVERRIDE;
virtual void NativeWindowClosed() OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698