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

Unified Diff: blimp/engine/app/blimp_content_browser_client.h

Issue 2157143002: Move interface registration to OnConnect in RPH (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 5 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
« no previous file with comments | « no previous file | blimp/engine/app/blimp_content_browser_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: blimp/engine/app/blimp_content_browser_client.h
diff --git a/blimp/engine/app/blimp_content_browser_client.h b/blimp/engine/app/blimp_content_browser_client.h
index 24ae73408e57fc84ceb6ba98444598bc0a0b14d2..5c4b3a25e6765661f6962b58621d9d37dc301d88 100644
--- a/blimp/engine/app/blimp_content_browser_client.h
+++ b/blimp/engine/app/blimp_content_browser_client.h
@@ -6,6 +6,7 @@
#define BLIMP_ENGINE_APP_BLIMP_CONTENT_BROWSER_CLIENT_H_
#include "base/macros.h"
+#include "blimp/engine/mojo/blob_channel_service.h"
#include "content/public/browser/content_browser_client.h"
namespace content {
@@ -32,13 +33,13 @@ class BlimpContentBrowserClient : public content::ContentBrowserClient {
const content::MainFunctionParams& parameters) override;
void OverrideWebkitPrefs(content::RenderViewHost* render_view_host,
content::WebPreferences* prefs) override;
- void ExposeInterfacesToRenderer(
- shell::InterfaceRegistry* registry,
- content::RenderProcessHost* render_process_host) override;
+ void ExposeInterfacesToRenderer(shell::Connection* connection) override;
BlimpBrowserContext* GetBrowserContext();
private:
+ void BindBlobChannel(mojom::BlobChannelRequest request);
+
// Owned by BrowserMainLoop
BlimpBrowserMainParts* blimp_browser_main_parts_ = nullptr;
« no previous file with comments | « no previous file | blimp/engine/app/blimp_content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698