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

Unified Diff: content/public/browser/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
Index: content/public/browser/content_browser_client.h
diff --git a/content/public/browser/content_browser_client.h b/content/public/browser/content_browser_client.h
index d69468a0c9ae77c6eb3a088c5c851fb1cd6ad704..d42fd2215c17da4c3f807c683efb9bfb763a4c9c 100644
--- a/content/public/browser/content_browser_client.h
+++ b/content/public/browser/content_browser_client.h
@@ -26,6 +26,7 @@
#include "content/public/common/socket_permission_request.h"
#include "content/public/common/window_container_type.h"
#include "media/audio/audio_manager.h"
+#include "media/mojo/interfaces/remoting.mojom.h"
#include "net/base/mime_util.h"
#include "net/cookies/canonical_cookie.h"
#include "storage/browser/fileapi/file_system_context.h"
@@ -773,6 +774,14 @@ class CONTENT_EXPORT ContentBrowserClient {
// Returns an instance of MemoryCoordinatorDelegate.
virtual std::unique_ptr<MemoryCoordinatorDelegate>
GetMemoryCoordinatorDelegate();
+
+ // Binds a new media remoter service to |request|, if supported by the
+ // embedder, for the |source| that lives in the render frame represented
+ // by |render_frame_host|. This may be called multiple times if there is more
+ // than one source candidate in the same render frame.
+ virtual void CreateMediaRemoter(RenderFrameHost* render_frame_host,
+ media::mojom::RemotingSourcePtr source,
+ media::mojom::RemoterRequest request) {}
};
} // namespace content
« no previous file with comments | « content/browser/frame_host/render_frame_host_impl.cc ('k') | services/service_manager/public/cpp/lib/interface_registry.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698