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

Unified Diff: chrome/browser/extensions/api/system_info/system_info_api.h

Issue 174513003: Move ProfileKeyedAPI implementations to take BrowserContext in the constructor (part 3). (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/system_info/system_info_api.h
diff --git a/chrome/browser/extensions/api/system_info/system_info_api.h b/chrome/browser/extensions/api/system_info/system_info_api.h
index d26254642ac5f6f5457170066b78c0435a27867e..a77c117ad971f860871e5cd53813dd00e8fa5f37 100644
--- a/chrome/browser/extensions/api/system_info/system_info_api.h
+++ b/chrome/browser/extensions/api/system_info/system_info_api.h
@@ -18,7 +18,7 @@ class SystemInfoAPI : public ProfileKeyedAPI,
// ProfileKeyedAPI implementation.
static ProfileKeyedAPIFactory<SystemInfoAPI>* GetFactoryInstance();
- explicit SystemInfoAPI(Profile* profile);
+ explicit SystemInfoAPI(content::BrowserContext* context);
virtual ~SystemInfoAPI();
// BrowserContextKeyedService implementation.
@@ -37,7 +37,7 @@ class SystemInfoAPI : public ProfileKeyedAPI,
}
static const bool kServiceIsNULLWhileTesting = true;
- Profile* profile_;
+ content::BrowserContext* browser_context_;
DISALLOW_COPY_AND_ASSIGN(SystemInfoAPI);
};

Powered by Google App Engine
This is Rietveld 408576698