Index: chrome/browser/media/router/media_source_helper.h |
diff --git a/chrome/browser/media/router/media_source_helper.h b/chrome/browser/media/router/media_source_helper.h |
deleted file mode 100644 |
index 6081b69a72ad1888ca8396739822c0dcdd1fe651..0000000000000000000000000000000000000000 |
--- a/chrome/browser/media/router/media_source_helper.h |
+++ /dev/null |
@@ -1,52 +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. |
- |
-#ifndef CHROME_BROWSER_MEDIA_ROUTER_MEDIA_SOURCE_HELPER_H_ |
-#define CHROME_BROWSER_MEDIA_ROUTER_MEDIA_SOURCE_HELPER_H_ |
- |
-#include <string> |
- |
-#include "chrome/browser/media/router/media_source.h" |
- |
-class GURL; |
- |
-namespace content { |
-class WebContents; |
-} |
- |
-namespace media_router { |
- |
-// Helper library for protocol-specific media source object creation. |
-// Returns MediaSource URI depending on the type of source. |
-MediaSource MediaSourceForTab(int tab_id); |
-MediaSource MediaSourceForTabContentRemoting(content::WebContents* contents); |
-MediaSource MediaSourceForDesktop(); |
-MediaSource MediaSourceForPresentationUrl(const GURL& presentation_url); |
- |
-// Returns true if |source| outputs its content via mirroring. |
-bool IsDesktopMirroringMediaSource(const MediaSource& source); |
-bool IsTabMirroringMediaSource(const MediaSource& source); |
-bool IsMirroringMediaSource(const MediaSource& source); |
- |
-// Returns true if |source| is a media source type that can be connected to the |
-// Presentation API by from a request initiated by the browser. |
-bool CanConnectToMediaSource(const MediaSource& source); |
- |
-// Parses the |source| and returns the SessionTabHelper tab ID referencing a |
-// source tab. Returns a non-positive value on error. |
-int TabIdFromMediaSource(const MediaSource& source); |
- |
-// Checks that |source| is a parseable URN and is of a known type. |
-// Does not deeper protocol-level syntax checks. |
-bool IsValidMediaSource(const MediaSource& source); |
- |
-// Returns true if |url| is a valid presentation URL. |
-bool IsValidPresentationUrl(const GURL& url); |
- |
-// Returns true if |presentation_id| is an ID used by auto-join requests. |
-bool IsAutoJoinPresentationId(const std::string& presentation_id); |
- |
-} // namespace media_router |
- |
-#endif // CHROME_BROWSER_MEDIA_ROUTER_MEDIA_SOURCE_HELPER_H_ |