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

Unified Diff: chrome/browser/media/router/presentation_request.cc

Issue 1436703002: Revert of [Presentation API / Media Router] Clean up default pres URL logic. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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/presentation_request.cc
diff --git a/chrome/browser/media/router/presentation_request.cc b/chrome/browser/media/router/presentation_request.cc
deleted file mode 100644
index 1c6df55773b8190571d3dbed0d4337c2ad17f3c0..0000000000000000000000000000000000000000
--- a/chrome/browser/media/router/presentation_request.cc
+++ /dev/null
@@ -1,31 +0,0 @@
-// Copyright 2015 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.
-
-#include "chrome/browser/media/router/presentation_request.h"
-
-#include "chrome/browser/media/router/media_source_helper.h"
-
-namespace media_router {
-
-PresentationRequest::PresentationRequest(
- const RenderFrameHostId& render_frame_host_id,
- const std::string& presentation_url,
- const GURL& frame_url)
- : render_frame_host_id_(render_frame_host_id),
- presentation_url_(presentation_url),
- frame_url_(frame_url) {}
-
-PresentationRequest::~PresentationRequest() = default;
-
-bool PresentationRequest::Equals(const PresentationRequest& other) const {
- return render_frame_host_id_ == other.render_frame_host_id_ &&
- presentation_url_ == other.presentation_url_ &&
- frame_url_ == other.frame_url_;
-}
-
-MediaSource PresentationRequest::GetMediaSource() const {
- return MediaSourceForPresentationUrl(presentation_url_);
-}
-
-} // namespace media_router
« no previous file with comments | « chrome/browser/media/router/presentation_request.h ('k') | chrome/browser/media/router/presentation_request_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698