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

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

Issue 2264153002: [Presentation API] Add support for multiple URLs in PresentationRequest on Media Router UI side (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Modify MediaRouterDialogControllerAndroid, format Created 4 years, 3 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/media_sink.h ('k') | chrome/browser/media/router/media_source.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/media/router/media_source.h
diff --git a/chrome/browser/media/router/media_source.h b/chrome/browser/media/router/media_source.h
index 288cb27b7791bdfdca6d04ce345df9aeb64ce604..1f3abac3721c4033af56e01474435f28b053beb1 100644
--- a/chrome/browser/media/router/media_source.h
+++ b/chrome/browser/media/router/media_source.h
@@ -20,17 +20,13 @@ class MediaSource {
using Id = std::string;
explicit MediaSource(const MediaSource::Id& id);
- MediaSource();
~MediaSource();
// Gets the ID of the media source.
MediaSource::Id id() const;
// Returns true if two MediaSource objects use the same media ID.
- bool Equals(const MediaSource& other) const;
-
- // Returns true if a MediaSource is empty or uninitialized.
- bool Empty() const;
+ bool operator==(const MediaSource& other) const;
// Used for logging.
std::string ToString() const;
« no previous file with comments | « chrome/browser/media/router/media_sink.h ('k') | chrome/browser/media/router/media_source.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698