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

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

Issue 2678123003: Revert of Convert MediaRouter mojom apis to intake url::Origin objects instead of strings (Closed)
Patch Set: Created 3 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_sinks_observer.h
diff --git a/chrome/browser/media/router/media_sinks_observer.h b/chrome/browser/media/router/media_sinks_observer.h
index 91741abc789f7a35bd8366424972c0ec452089bd..5a87f27321f890801f695c3e6378cec1a4d3459d 100644
--- a/chrome/browser/media/router/media_sinks_observer.h
+++ b/chrome/browser/media/router/media_sinks_observer.h
@@ -10,7 +10,7 @@
#include "base/macros.h"
#include "chrome/browser/media/router/media_sink.h"
#include "chrome/browser/media/router/media_source.h"
-#include "url/origin.h"
+#include "url/gurl.h"
namespace media_router {
@@ -28,7 +28,7 @@
// with |source|.
MediaSinksObserver(MediaRouter* router,
const MediaSource& source,
- const url::Origin& origin);
+ const GURL& origin);
virtual ~MediaSinksObserver();
// Registers with MediaRouter to start observing. Must be called before the
@@ -42,7 +42,7 @@
// will be invoked with |sinks|. Otherwise, it will be invoked with an empty
// list.
void OnSinksUpdated(const std::vector<MediaSink>& sinks,
- const std::vector<url::Origin>& origins);
+ const std::vector<GURL>& origins);
const MediaSource& source() const { return source_; }
@@ -55,7 +55,7 @@
private:
const MediaSource source_;
- const url::Origin origin_;
+ const GURL origin_;
MediaRouter* const router_;
bool initialized_;

Powered by Google App Engine
This is Rietveld 408576698