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

Unified Diff: chrome/browser/chrome_content_browser_client.h

Issue 2498203004: Move media::mojom::RemoterFactory to content, add ContentBrowserClient API. (Closed)
Patch Set: Move impl of RemoterFactory to content + expose ContentBrowserClient API. Created 4 years, 1 month 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/browser/chrome_content_browser_client.h
diff --git a/chrome/browser/chrome_content_browser_client.h b/chrome/browser/chrome_content_browser_client.h
index 26a0843e0c86002f7f63fdb4766fcbc20906aefd..dd8f0dcaef2be7a19590b58cd6c7e6c02b5e4171 100644
--- a/chrome/browser/chrome_content_browser_client.h
+++ b/chrome/browser/chrome_content_browser_client.h
@@ -18,6 +18,7 @@
#include "build/build_config.h"
#include "content/public/browser/content_browser_client.h"
#include "extensions/features/features.h"
+#include "media/media_features.h"
class ChromeContentBrowserClientParts;
@@ -301,7 +302,6 @@ class ChromeContentBrowserClient : public content::ContentBrowserClient {
override;
content::PresentationServiceDelegate* GetPresentationServiceDelegate(
content::WebContents* web_contents) override;
-
void RecordURLMetric(const std::string& metric, const GURL& url) override;
ScopedVector<content::NavigationThrottle> CreateThrottlesForNavigation(
content::NavigationHandle* handle) override;
@@ -310,6 +310,12 @@ class ChromeContentBrowserClient : public content::ContentBrowserClient {
std::unique_ptr<content::MemoryCoordinatorDelegate>
GetMemoryCoordinatorDelegate() override;
+#if BUILDFLAG(ENABLE_MEDIA_REMOTING) && defined(ENABLE_MEDIA_ROUTER)
+ void CreateMediaRemoter(content::RenderFrameHost* render_frame_host,
+ media::mojom::RemotingSourcePtr source,
+ media::mojom::RemoterRequest request) override;
+#endif // BUILDFLAG(ENABLE_MEDIA_REMOTING) && defined(ENABLE_MEDIA_ROUTER)
+
private:
friend class DisableWebRtcEncryptionFlagTest;

Powered by Google App Engine
This is Rietveld 408576698