OLD | NEW |
(Empty) | |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "chrome/browser/media/router/presentation_request.h" |
| 6 |
| 7 namespace media_router { |
| 8 |
| 9 PresentationRequest::PresentationRequest( |
| 10 const RenderFrameHostId& render_frame_host_id, |
| 11 const std::string& presentation_url, |
| 12 const GURL& frame_url) |
| 13 : render_frame_host_id_(render_frame_host_id), |
| 14 presentation_url_(presentation_url), |
| 15 frame_url_(frame_url) {} |
| 16 |
| 17 PresentationRequest::~PresentationRequest() {} |
| 18 |
| 19 bool PresentationRequest::Equals(const PresentationRequest& other) const { |
| 20 return render_frame_host_id_ == other.render_frame_host_id_ && |
| 21 presentation_url_ == other.presentation_url_ && |
| 22 frame_url_ == other.frame_url_; |
| 23 } |
| 24 |
| 25 } // namespace media_router |
OLD | NEW |