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

Unified Diff: chrome/browser/media/router/media_cast_mode.h

Issue 949293004: Add media router common classes and unittests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Chunkier CL Created 5 years, 10 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/media/router/media_cast_mode.h
diff --git a/chrome/browser/media/router/media_cast_mode.h b/chrome/browser/media/router/media_cast_mode.h
new file mode 100644
index 0000000000000000000000000000000000000000..8850472f75a6a8c508e1ddec92e6d9ea8dc9e9ed
--- /dev/null
+++ b/chrome/browser/media/router/media_cast_mode.h
@@ -0,0 +1,24 @@
+// Copyright 2014 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_MEDIA_ROUTER_MEDIA_CAST_MODE_H_
+#define CHROME_BROWSER_MEDIA_ROUTER_MEDIA_CAST_MODE_H_
+
+#include <string>
+
+namespace media_router {
+
+// Represents available cast modes.
+enum MediaCastMode {
mark a. foltz 2015/02/27 05:48:10 Per discussion with imcheng@ today this is really
Kevin M 2015/02/27 18:42:17 Done.
+ APP_CAST,
+ SCREEN_WINDOW_MIRROR,
+ SOUND_OPTIMIZED_TAB_MIRROR,
+ TAB_MIRROR,
+};
+
+std::string MediaCastModeToTitle(MediaCastMode mode);
+
+} // namespace media_router
+
+#endif // CHROME_BROWSER_MEDIA_ROUTER_MEDIA_CAST_MODE_H_

Powered by Google App Engine
This is Rietveld 408576698