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

Unified Diff: chrome/browser/chrome_content_browser_client.h

Issue 2498203004: Move media::mojom::RemoterFactory to content, add ContentBrowserClient API. (Closed)
Patch Set: REBASE 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
« no previous file with comments | « chrome/browser/DEPS ('k') | chrome/browser/chrome_content_browser_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..163628cf1acdda62ef04b0aef927ae37cb77e598 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)
+ void CreateMediaRemoter(content::RenderFrameHost* render_frame_host,
+ media::mojom::RemotingSourcePtr source,
+ media::mojom::RemoterRequest request) final;
+#endif // BUILDFLAG(ENABLE_MEDIA_REMOTING)
+
private:
friend class DisableWebRtcEncryptionFlagTest;
« no previous file with comments | « chrome/browser/DEPS ('k') | chrome/browser/chrome_content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698