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

Unified Diff: chrome/common/media_router/media_source_helper.h

Issue 2771413003: Move c/b/media/router/mojo/*.mojom to chrome/common/media_router/mojo/*.mojom (Closed)
Patch Set: Rebase Created 3 years, 8 months 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/common/media_router/media_source_helper.h
diff --git a/chrome/browser/media/router/media_source_helper.h b/chrome/common/media_router/media_source_helper.h
similarity index 81%
rename from chrome/browser/media/router/media_source_helper.h
rename to chrome/common/media_router/media_source_helper.h
index 6081b69a72ad1888ca8396739822c0dcdd1fe651..a18b26cb8a38ecf979dc6666a7ea9aab03771983 100644
--- a/chrome/browser/media/router/media_source_helper.h
+++ b/chrome/common/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 CHROME_COMMON_MEDIA_ROUTER_MEDIA_SOURCE_HELPER_H_
+#define CHROME_COMMON_MEDIA_ROUTER_MEDIA_SOURCE_HELPER_H_
#include <string>
-#include "chrome/browser/media/router/media_source.h"
+#include "chrome/common/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 // CHROME_COMMON_MEDIA_ROUTER_MEDIA_SOURCE_HELPER_H_

Powered by Google App Engine
This is Rietveld 408576698