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

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: 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 7a5f3ab4b5b1c55a1a743dfe41d7b2151d0c9b4b..aed3699820822e87e8dfe9683a68d8be9882b5b2 100644
--- a/chrome/browser/extensions/api/profile_keyed_api_factory.h
+++ b/chrome/browser/extensions/api/profile_keyed_api_factory.h
@@ -93,8 +93,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