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

Unified Diff: chrome/browser/chromeos/extensions/media_player_event_router.h

Issue 7067020: Moving mediaplayer to the chrome filebrowser. Observable behaviour should not change. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Resolved conflicts. Created 9 years, 7 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_event_router.h
diff --git a/chrome/browser/chromeos/extensions/media_player_event_router.h b/chrome/browser/chromeos/extensions/media_player_event_router.h
new file mode 100644
index 0000000000000000000000000000000000000000..5095de18d98f2cb27c7c0b4068bfaf8c403d9a7e
--- /dev/null
+++ b/chrome/browser/chromeos/extensions/media_player_event_router.h
@@ -0,0 +1,31 @@
+// Copyright (c) 2011 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_EXTENSIONS_MEDIA_PLAYER_EVENT_ROUTER_H_
+#define CHROME_BROWSER_CHROMEOS_EXTENSIONS_MEDIA_PLAYER_EVENT_ROUTER_H_
+#pragma once
+
+#include "base/basictypes.h"
+
+class Profile;
+template <typename T> struct DefaultSingletonTraits;
+
+// Event router class for events related to Mediaplayer.
+class ExtensionMediaPlayerEventRouter {
+ public:
+ static ExtensionMediaPlayerEventRouter* GetInstance();
+
+ void Init(Profile* profile);
+
+ void NotifyPlaylistChanged();
+
+ private:
+ Profile* profile_;
+
+ ExtensionMediaPlayerEventRouter();
+ friend struct DefaultSingletonTraits<ExtensionMediaPlayerEventRouter>;
+ DISALLOW_COPY_AND_ASSIGN(ExtensionMediaPlayerEventRouter);
+};
+
+#endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_MEDIA_PLAYER_EVENT_ROUTER_H_
« no previous file with comments | « chrome/browser/browser_resources.grd ('k') | chrome/browser/chromeos/extensions/media_player_event_router.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698