| Index: apps/app_load_service.h
|
| diff --git a/apps/app_load_service.h b/apps/app_load_service.h
|
| index 508f2f06ef8975783c755ec4bdca673094eda5c7..ace3736d0177c00c6609a7a08b1c22de8bdaf1a6 100644
|
| --- a/apps/app_load_service.h
|
| +++ b/apps/app_load_service.h
|
| @@ -15,7 +15,9 @@
|
| #include "content/public/browser/notification_registrar.h"
|
| #include "extensions/browser/extension_registry_observer.h"
|
|
|
| -class Profile;
|
| +namespace content {
|
| +class BrowserContext;
|
| +}
|
|
|
| namespace extensions {
|
| struct UnloadedExtensionInfo;
|
| @@ -43,7 +45,7 @@ class AppLoadService : public KeyedService,
|
| base::FilePath current_dir;
|
| };
|
|
|
| - explicit AppLoadService(Profile* profile);
|
| + explicit AppLoadService(content::BrowserContext* context);
|
| ~AppLoadService() override;
|
|
|
| // KeyedService support:
|
| @@ -68,7 +70,7 @@ class AppLoadService : public KeyedService,
|
| // the app has begun successfully.
|
| bool Load(const base::FilePath& extension_path);
|
|
|
| - static AppLoadService* Get(Profile* profile);
|
| + static AppLoadService* Get(content::BrowserContext* context);
|
|
|
| private:
|
| // content::NotificationObserver.
|
| @@ -91,7 +93,7 @@ class AppLoadService : public KeyedService,
|
| // no action.
|
| std::map<std::string, PostReloadAction> post_reload_actions_;
|
| content::NotificationRegistrar registrar_;
|
| - Profile* profile_;
|
| + content::BrowserContext* context_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(AppLoadService);
|
| };
|
|
|