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

Unified Diff: chrome/browser/extensions/api/profile_keyed_api_factory.h

Issue 168253002: Cleanup many APIs to use ProfileKeyedAPI. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: profile->browsercontext 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/profile_keyed_api_factory.h
diff --git a/chrome/browser/extensions/api/profile_keyed_api_factory.h b/chrome/browser/extensions/api/profile_keyed_api_factory.h
index 83f0d8c9a59590876e5441a0b55d6e2e3524a22f..b062ef218bfaa4bb0997f7f631036bc5b8628ccd 100644
--- a/chrome/browser/extensions/api/profile_keyed_api_factory.h
+++ b/chrome/browser/extensions/api/profile_keyed_api_factory.h
@@ -99,8 +99,8 @@ class ProfileKeyedAPIFactory : public BrowserContextKeyedServiceFactory {
private:
// BrowserContextKeyedServiceFactory implementation.
virtual BrowserContextKeyedService* BuildServiceInstanceFor(
- content::BrowserContext* profile) const OVERRIDE {
- return new T(static_cast<Profile*>(profile));
+ content::BrowserContext* context) const OVERRIDE {
+ return new T(static_cast<Profile*>(context));
}
// BrowserContextKeyedBaseFactory implementation.

Powered by Google App Engine
This is Rietveld 408576698