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

Unified Diff: apps/app_load_service_factory.h

Issue 2729503007: Remove Profile usage from //apps (Closed)
Patch Set: deps Created 3 years, 9 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 | « apps/app_load_service.cc ('k') | apps/app_load_service_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: apps/app_load_service_factory.h
diff --git a/apps/app_load_service_factory.h b/apps/app_load_service_factory.h
index 3c67b70bd116746b53195a0ff894044c4c5c5f48..e65e2fb2c4244e72a89567137bb8184a4702f7ef 100644
--- a/apps/app_load_service_factory.h
+++ b/apps/app_load_service_factory.h
@@ -8,7 +8,9 @@
#include "base/memory/singleton.h"
#include "components/keyed_service/content/browser_context_keyed_service_factory.h"
-class Profile;
+namespace content {
+class BrowserContext;
+}
namespace apps {
@@ -16,7 +18,7 @@ class AppLoadService;
class AppLoadServiceFactory : public BrowserContextKeyedServiceFactory {
public:
- static AppLoadService* GetForProfile(Profile* profile);
+ static AppLoadService* GetForBrowserContext(content::BrowserContext* context);
static AppLoadServiceFactory* GetInstance();
« no previous file with comments | « apps/app_load_service.cc ('k') | apps/app_load_service_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698