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

Unified Diff: chrome/browser/chromeos/media/media_player_extension_api.h

Issue 10386206: RefCounted types should not have public destructors, chromeos edition (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase to r143931 Created 8 years, 6 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/chromeos/low_memory_observer.cc ('k') | chrome/browser/chromeos/mobile/mobile_activator.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_
« no previous file with comments | « chrome/browser/chromeos/low_memory_observer.cc ('k') | chrome/browser/chromeos/mobile/mobile_activator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698