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

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

Issue 11638024: Make MediaPlayerEventRouter a PKS to decouple it from ExtensionService (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 8 years 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/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
deleted file mode 100644
index 54b60a2f76b86600deb9b68f1c2679232575d703..0000000000000000000000000000000000000000
--- a/chrome/browser/chromeos/media/media_player_extension_api.h
+++ /dev/null
@@ -1,62 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CHROME_BROWSER_CHROMEOS_MEDIA_MEDIA_PLAYER_EXTENSION_API_H_
-#define CHROME_BROWSER_CHROMEOS_MEDIA_MEDIA_PLAYER_EXTENSION_API_H_
-
-#include <map>
-#include <string>
-#include <vector>
-
-#include "chrome/browser/extensions/extension_function.h"
-
-// 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;
-};
-
-// 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;
-};
-
-// 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;
-};
-
-// 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;
-};
-
-#endif // CHROME_BROWSER_CHROMEOS_MEDIA_MEDIA_PLAYER_EXTENSION_API_H_

Powered by Google App Engine
This is Rietveld 408576698