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

Unified Diff: chrome/browser/chromeos/extensions/input_method_api.cc

Issue 178193030: Rename ProfileKeyedAPI to BrowserContextKeyedAPI and GetProfile to Get. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: nits 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/chromeos/extensions/input_method_api.cc
diff --git a/chrome/browser/chromeos/extensions/input_method_api.cc b/chrome/browser/chromeos/extensions/input_method_api.cc
index 9c790e0871e7b89fd2927a8f9adfcda7613b2a9b..ad774bc4516e6b98dad480d353e4d376b3e971ce 100644
--- a/chrome/browser/chromeos/extensions/input_method_api.cc
+++ b/chrome/browser/chromeos/extensions/input_method_api.cc
@@ -95,11 +95,12 @@ void InputMethodAPI::OnListenerAdded(
ExtensionSystem::Get(context_)->event_router()->UnregisterObserver(this);
}
-static base::LazyInstance<ProfileKeyedAPIFactory<InputMethodAPI> >
+static base::LazyInstance<BrowserContextKeyedAPIFactory<InputMethodAPI> >
g_factory = LAZY_INSTANCE_INITIALIZER;
// static
-ProfileKeyedAPIFactory<InputMethodAPI>* InputMethodAPI::GetFactoryInstance() {
+BrowserContextKeyedAPIFactory<InputMethodAPI>*
+InputMethodAPI::GetFactoryInstance() {
return g_factory.Pointer();
}
« no previous file with comments | « chrome/browser/chromeos/extensions/input_method_api.h ('k') | chrome/browser/chromeos/extensions/media_player_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698