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

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: moar. 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..17426e579232a244b9390e8c1ed767320ab96fc9 100644
--- a/apps/app_window_contents.h
+++ b/apps/app_window_contents.h
@@ -17,6 +17,7 @@
class GURL;
namespace content {
+class BrowserContext;
James Cook 2014/02/12 00:46:41 totally optional nit: I usually don't forward-decl
Ken Rockot(use gerrit already) 2014/02/12 01:05:46 I can support that. Done.
class RenderViewHost;
}
@@ -38,7 +39,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;
« no previous file with comments | « apps/app_lifetime_monitor.cc ('k') | apps/app_window_contents.cc » ('j') | apps/shell_window.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698