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

Unified Diff: chrome/browser/extensions/api/management/management_api.h

Issue 166053003: Move ProfileKeyedAPI implementations to take BrowserContext in the constructor (part 2). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: | 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: chrome/browser/extensions/api/management/management_api.h
diff --git a/chrome/browser/extensions/api/management/management_api.h b/chrome/browser/extensions/api/management/management_api.h
index f8cc7e6ba0ec66b41d85f95014576e4e6ac33302..afb61cbff2688c30f2a3e10ce4f722f30ec0f968 100644
--- a/chrome/browser/extensions/api/management/management_api.h
+++ b/chrome/browser/extensions/api/management/management_api.h
@@ -193,7 +193,7 @@ class ManagementEventRouter : public content::NotificationObserver {
class ManagementAPI : public ProfileKeyedAPI,
public extensions::EventRouter::Observer {
public:
- explicit ManagementAPI(Profile* profile);
+ explicit ManagementAPI(content::BrowserContext* context);
virtual ~ManagementAPI();
// BrowserContextKeyedService implementation.
@@ -209,7 +209,7 @@ class ManagementAPI : public ProfileKeyedAPI,
private:
friend class ProfileKeyedAPIFactory<ManagementAPI>;
- Profile* profile_;
+ content::BrowserContext* browser_context_;
// ProfileKeyedAPI implementation.
static const char* service_name() {

Powered by Google App Engine
This is Rietveld 408576698