| Index: components/media_router/media_source_helper.h
|
| diff --git a/chrome/browser/media/router/media_source_helper.h b/components/media_router/media_source_helper.h
|
| similarity index 81%
|
| rename from chrome/browser/media/router/media_source_helper.h
|
| rename to components/media_router/media_source_helper.h
|
| index 6081b69a72ad1888ca8396739822c0dcdd1fe651..f7590b98da009a0f97fe7bb2c22f2d0c49f8df00 100644
|
| --- a/chrome/browser/media/router/media_source_helper.h
|
| +++ b/components/media_router/media_source_helper.h
|
| @@ -2,25 +2,21 @@
|
| // 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_
|
| +#ifndef COMPONENTS_MEDIA_ROUTER_MEDIA_SOURCE_HELPER_H_
|
| +#define COMPONENTS_MEDIA_ROUTER_MEDIA_SOURCE_HELPER_H_
|
|
|
| #include <string>
|
|
|
| -#include "chrome/browser/media/router/media_source.h"
|
| +#include "components/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 MediaSourceForTabContentRemoting(int tab_id);
|
| MediaSource MediaSourceForDesktop();
|
| MediaSource MediaSourceForPresentationUrl(const GURL& presentation_url);
|
|
|
| @@ -49,4 +45,4 @@ bool IsAutoJoinPresentationId(const std::string& presentation_id);
|
|
|
| } // namespace media_router
|
|
|
| -#endif // CHROME_BROWSER_MEDIA_ROUTER_MEDIA_SOURCE_HELPER_H_
|
| +#endif // COMPONENTS_MEDIA_ROUTER_MEDIA_SOURCE_HELPER_H_
|
|
|