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

Unified Diff: chrome/browser/speech/extension_api/tts_extension_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/speech/extension_api/tts_extension_api.cc
diff --git a/chrome/browser/speech/extension_api/tts_extension_api.cc b/chrome/browser/speech/extension_api/tts_extension_api.cc
index bd43ddb7f842bdaab77952482cd10a74a47bd5b5..b5d683cc3f8898340c5f4dac91a159a509c600f9 100644
--- a/chrome/browser/speech/extension_api/tts_extension_api.cc
+++ b/chrome/browser/speech/extension_api/tts_extension_api.cc
@@ -357,10 +357,10 @@ TtsAPI::TtsAPI(content::BrowserContext* context) {
TtsAPI::~TtsAPI() {
}
-static base::LazyInstance<ProfileKeyedAPIFactory<TtsAPI> >
-g_factory = LAZY_INSTANCE_INITIALIZER;
+static base::LazyInstance<BrowserContextKeyedAPIFactory<TtsAPI> > g_factory =
+ LAZY_INSTANCE_INITIALIZER;
-ProfileKeyedAPIFactory<TtsAPI>* TtsAPI::GetFactoryInstance() {
+BrowserContextKeyedAPIFactory<TtsAPI>* TtsAPI::GetFactoryInstance() {
return g_factory.Pointer();
}
« no previous file with comments | « chrome/browser/speech/extension_api/tts_extension_api.h ('k') | chrome/browser/ui/webui/identity_internals_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698