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

Unified Diff: chrome/browser/chromeos/extensions/media_player_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
Index: chrome/browser/chromeos/extensions/media_player_api.h
diff --git a/chrome/browser/chromeos/extensions/media_player_api.h b/chrome/browser/chromeos/extensions/media_player_api.h
index 3b8da7579f8ff114bedecdb793176e9889592406..83955fb6db1c6e6785c8dc4388eaf232f6a9e37f 100644
--- a/chrome/browser/chromeos/extensions/media_player_api.h
+++ b/chrome/browser/chromeos/extensions/media_player_api.h
@@ -10,7 +10,7 @@
#include <vector>
#include "base/memory/scoped_ptr.h"
-#include "chrome/browser/extensions/api/profile_keyed_api_factory.h"
+#include "extensions/browser/browser_context_keyed_api_factory.h"
#include "extensions/browser/extension_function.h"
namespace content {
@@ -20,7 +20,7 @@ class BrowserContext;
namespace extensions {
class MediaPlayerEventRouter;
-class MediaPlayerAPI : public ProfileKeyedAPI {
+class MediaPlayerAPI : public BrowserContextKeyedAPI {
public:
explicit MediaPlayerAPI(content::BrowserContext* context);
virtual ~MediaPlayerAPI();
@@ -30,15 +30,15 @@ class MediaPlayerAPI : public ProfileKeyedAPI {
MediaPlayerEventRouter* media_player_event_router();
- // ProfileKeyedAPI implementation.
- static ProfileKeyedAPIFactory<MediaPlayerAPI>* GetFactoryInstance();
+ // BrowserContextKeyedAPI implementation.
+ static BrowserContextKeyedAPIFactory<MediaPlayerAPI>* GetFactoryInstance();
private:
- friend class ProfileKeyedAPIFactory<MediaPlayerAPI>;
+ friend class BrowserContextKeyedAPIFactory<MediaPlayerAPI>;
content::BrowserContext* const browser_context_;
- // ProfileKeyedAPI implementation.
+ // BrowserContextKeyedAPI implementation.
static const char* service_name() {
return "MediaPlayerAPI";
}
« no previous file with comments | « chrome/browser/chromeos/extensions/input_method_api.cc ('k') | chrome/browser/chromeos/extensions/media_player_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698