| Index: chrome/browser/media/router/media_source.cc
|
| diff --git a/chrome/browser/media/router/media_source.cc b/chrome/browser/media/router/media_source.cc
|
| deleted file mode 100644
|
| index c5834d4bffe481d5b7408fc15191bc50bb14a1b5..0000000000000000000000000000000000000000
|
| --- a/chrome/browser/media/router/media_source.cc
|
| +++ /dev/null
|
| @@ -1,42 +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/media_source.h"
|
| -
|
| -#include <string>
|
| -
|
| -#include "chrome/browser/media/router/media_source_helper.h"
|
| -
|
| -namespace media_router {
|
| -
|
| -MediaSource::MediaSource(const MediaSource::Id& source_id) : id_(source_id) {
|
| - GURL url(source_id);
|
| - if (IsValidPresentationUrl(url))
|
| - url_ = url;
|
| -}
|
| -
|
| -MediaSource::MediaSource(const GURL& presentation_url)
|
| - : id_(presentation_url.spec()), url_(presentation_url) {}
|
| -
|
| -MediaSource::~MediaSource() {}
|
| -
|
| -MediaSource::Id MediaSource::id() const {
|
| - return id_;
|
| -}
|
| -
|
| -GURL MediaSource::url() const {
|
| - return url_;
|
| -}
|
| -
|
| -bool MediaSource::operator==(const MediaSource& other) const {
|
| - return id_ == other.id();
|
| -}
|
| -
|
| -std::string MediaSource::ToString() const {
|
| - return "MediaSource[" + id_ + "]";
|
| -}
|
| -
|
| -MediaSource::MediaSource() {}
|
| -
|
| -} // namespace media_router
|
|
|