| 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 026ae87a24e2ec105fa39414aa7a0208fe3a93ce..3b8da7579f8ff114bedecdb793176e9889592406 100644
|
| --- a/chrome/browser/chromeos/extensions/media_player_api.h
|
| +++ b/chrome/browser/chromeos/extensions/media_player_api.h
|
| @@ -13,18 +13,20 @@
|
| #include "chrome/browser/extensions/api/profile_keyed_api_factory.h"
|
| #include "extensions/browser/extension_function.h"
|
|
|
| -class Profile;
|
| +namespace content {
|
| +class BrowserContext;
|
| +}
|
|
|
| namespace extensions {
|
| class MediaPlayerEventRouter;
|
|
|
| class MediaPlayerAPI : public ProfileKeyedAPI {
|
| public:
|
| - explicit MediaPlayerAPI(Profile* profile);
|
| + explicit MediaPlayerAPI(content::BrowserContext* context);
|
| virtual ~MediaPlayerAPI();
|
|
|
| // Convenience method to get the MediaPlayerAPI for a profile.
|
| - static MediaPlayerAPI* Get(Profile* profile);
|
| + static MediaPlayerAPI* Get(content::BrowserContext* context);
|
|
|
| MediaPlayerEventRouter* media_player_event_router();
|
|
|
| @@ -34,7 +36,7 @@ class MediaPlayerAPI : public ProfileKeyedAPI {
|
| private:
|
| friend class ProfileKeyedAPIFactory<MediaPlayerAPI>;
|
|
|
| - Profile* const profile_;
|
| + content::BrowserContext* const browser_context_;
|
|
|
| // ProfileKeyedAPI implementation.
|
| static const char* service_name() {
|
|
|