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

Unified Diff: chrome/browser/speech/tts_extension_loader_chromeos.cc

Issue 14141006: [components] Switch {RefCounted}ProfileKeyedService to use BrowserContext (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: trybots 2 Created 7 years, 8 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/tts_extension_loader_chromeos.cc
diff --git a/chrome/browser/speech/tts_extension_loader_chromeos.cc b/chrome/browser/speech/tts_extension_loader_chromeos.cc
index 2195a72d51b78f7c197eccee65111770c56711fa..6f7e3ae67d4bbdb825101008e6be0b025c506d63 100644
--- a/chrome/browser/speech/tts_extension_loader_chromeos.cc
+++ b/chrome/browser/speech/tts_extension_loader_chromeos.cc
@@ -47,9 +47,9 @@ class TtsExtensionLoaderChromeOsFactory : public ProfileKeyedServiceFactory {
return true;
}
- virtual ProfileKeyedService* BuildServiceInstanceFor(Profile* profile) const
- OVERRIDE {
- return new TtsExtensionLoaderChromeOs(profile);
+ virtual ProfileKeyedService* BuildServiceInstanceFor(
+ content::BrowserContext* profile) const OVERRIDE {
+ return new TtsExtensionLoaderChromeOs(static_cast<Profile*>(profile));
}
};

Powered by Google App Engine
This is Rietveld 408576698