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

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

Issue 1077963002: Revert of [Media Router] Design MediaRouter interface with stub implementation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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/media/router/BUILD.gn ('k') | chrome/browser/media/router/media_router.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/media/router/media_route.h
diff --git a/chrome/browser/media/router/media_route.h b/chrome/browser/media/router/media_route.h
index 1769a57ee5af613037cca8c92d5b8e3a5b569c4b..a8564f63d0449be3e7080ceed2bf795fcb69b8f7 100644
--- a/chrome/browser/media/router/media_route.h
+++ b/chrome/browser/media/router/media_route.h
@@ -16,6 +16,10 @@
#include "url/gurl.h"
namespace media_router {
+
+using RouteRequestId = int64;
+
+class MediaRouteFactory;
// For now, a simple transition graph: NEW -> CONNECTED -> CLOSED.
enum MediaRouteState {
@@ -44,6 +48,7 @@
const MediaSink& media_sink,
const std::string& description,
bool is_local);
+
~MediaRoute();
// The media route identifier.
@@ -70,12 +75,12 @@
bool Equals(const MediaRoute& other) const;
private:
- MediaRouteId media_route_id_;
- MediaSource media_source_;
- MediaSink media_sink_;
- std::string description_;
- bool is_local_;
- MediaRouteState state_;
+ const MediaRouteId media_route_id_;
+ const MediaSource media_source_;
+ const MediaSink media_sink_;
+ const std::string description_;
+ const bool is_local_;
+ const MediaRouteState state_;
};
} // namespace media_router
« no previous file with comments | « chrome/browser/media/router/BUILD.gn ('k') | chrome/browser/media/router/media_router.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698