Index: chrome/browser/chromeos/media/media_player_extension_api.h |
diff --git a/chrome/browser/chromeos/media/media_player_extension_api.h b/chrome/browser/chromeos/media/media_player_extension_api.h |
index 640d5173683525d84e5dd14282f53ddaccb4580f..2ec9f6924d85cc3fc3b87120ce13248db65ddd11 100644 |
--- a/chrome/browser/chromeos/media/media_player_extension_api.h |
+++ b/chrome/browser/chromeos/media/media_player_extension_api.h |
@@ -14,34 +14,50 @@ |
// Implements the chrome.mediaPlayerPrivate.play method. |
class PlayMediaplayerFunction : public SyncExtensionFunction { |
+ public: |
+ DECLARE_EXTENSION_FUNCTION_NAME("mediaPlayerPrivate.play"); |
+ |
protected: |
+ virtual ~PlayMediaplayerFunction() {} |
+ |
// SyncExtensionFunction overrides. |
virtual bool RunImpl() OVERRIDE; |
- DECLARE_EXTENSION_FUNCTION_NAME("mediaPlayerPrivate.play"); |
}; |
// Implements the chrome.mediaPlayerPrivate.getPlaylist method. |
class GetPlaylistMediaplayerFunction : public SyncExtensionFunction { |
+ public: |
+ DECLARE_EXTENSION_FUNCTION_NAME("mediaPlayerPrivate.getPlaylist"); |
+ |
protected: |
+ virtual ~GetPlaylistMediaplayerFunction() {} |
+ |
// SyncExtensionFunction overrides. |
virtual bool RunImpl() OVERRIDE; |
- DECLARE_EXTENSION_FUNCTION_NAME("mediaPlayerPrivate.getPlaylist"); |
}; |
// Implements the chrome.mediaPlayerPrivate.setWindowHeight method. |
class SetWindowHeightMediaplayerFunction : public SyncExtensionFunction { |
+ public: |
+ DECLARE_EXTENSION_FUNCTION_NAME("mediaPlayerPrivate.setWindowHeight"); |
+ |
protected: |
+ virtual ~SetWindowHeightMediaplayerFunction() {} |
+ |
// SyncExtensionFunction overrides. |
virtual bool RunImpl() OVERRIDE; |
- DECLARE_EXTENSION_FUNCTION_NAME("mediaPlayerPrivate.setWindowHeight"); |
}; |
// Implements the chrome.mediaPlayerPrivate.closeWindow method. |
class CloseWindowMediaplayerFunction : public SyncExtensionFunction { |
+ public: |
+ DECLARE_EXTENSION_FUNCTION_NAME("mediaPlayerPrivate.closeWindow"); |
+ |
protected: |
+ virtual ~CloseWindowMediaplayerFunction() {} |
+ |
// SyncExtensionFunction overrides. |
virtual bool RunImpl() OVERRIDE; |
- DECLARE_EXTENSION_FUNCTION_NAME("mediaPlayerPrivate.closeWindow"); |
}; |
#endif // CHROME_BROWSER_CHROMEOS_MEDIA_MEDIA_PLAYER_EXTENSION_API_H_ |