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

Unified Diff: chrome/browser/speech/extension_api/tts_extension_api.h

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
« no previous file with comments | « chrome/browser/feedback/feedback_util.cc ('k') | chrome/browser/speech/extension_api/tts_extension_api.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/speech/extension_api/tts_extension_api.h
diff --git a/chrome/browser/speech/extension_api/tts_extension_api.h b/chrome/browser/speech/extension_api/tts_extension_api.h
index 4746e0952df9e5ea0ff1329d84ed86a4e5c6ce2e..66ccaa945c7bbf2ed4902a1c41fbbf5931970094 100644
--- a/chrome/browser/speech/extension_api/tts_extension_api.h
+++ b/chrome/browser/speech/extension_api/tts_extension_api.h
@@ -7,9 +7,9 @@
#include <string>
-#include "chrome/browser/extensions/api/profile_keyed_api_factory.h"
#include "chrome/browser/extensions/chrome_extension_function.h"
#include "chrome/browser/speech/tts_controller.h"
+#include "extensions/browser/browser_context_keyed_api_factory.h"
namespace content {
class BrowserContext;
@@ -62,18 +62,18 @@ class TtsGetVoicesFunction : public ChromeSyncExtensionFunction {
DECLARE_EXTENSION_FUNCTION("tts.getVoices", TTS_GETVOICES)
};
-class TtsAPI : public ProfileKeyedAPI {
+class TtsAPI : public BrowserContextKeyedAPI {
public:
explicit TtsAPI(content::BrowserContext* context);
virtual ~TtsAPI();
- // ProfileKeyedAPI implementation.
- static ProfileKeyedAPIFactory<TtsAPI>* GetFactoryInstance();
+ // BrowserContextKeyedAPI implementation.
+ static BrowserContextKeyedAPIFactory<TtsAPI>* GetFactoryInstance();
private:
- friend class ProfileKeyedAPIFactory<TtsAPI>;
+ friend class BrowserContextKeyedAPIFactory<TtsAPI>;
- // ProfileKeyedAPI implementation.
+ // BrowserContextKeyedAPI implementation.
static const char* service_name() {
return "TtsAPI";
}
« no previous file with comments | « chrome/browser/feedback/feedback_util.cc ('k') | chrome/browser/speech/extension_api/tts_extension_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698