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

Unified Diff: chrome/browser/ui/webui/mojo_web_ui_controller.h

Issue 2851173004: Eliminate bind callback that doesn't take a BindSourceInfo parameter. (Closed)
Patch Set: . 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/browser/ui/webui/mojo_web_ui_controller.h
diff --git a/chrome/browser/ui/webui/mojo_web_ui_controller.h b/chrome/browser/ui/webui/mojo_web_ui_controller.h
index 501a9cc48bc92623f5f69ca43e1f0e353cbb8024..75109db24232ff8fe476678576ba7434f52fe516 100644
--- a/chrome/browser/ui/webui/mojo_web_ui_controller.h
+++ b/chrome/browser/ui/webui/mojo_web_ui_controller.h
@@ -15,6 +15,7 @@
#include "content/public/browser/render_view_host.h"
#include "content/public/browser/web_ui_controller.h"
#include "mojo/public/cpp/system/core.h"
+#include "services/service_manager/public/cpp/bind_source_info.h"
#include "services/service_manager/public/cpp/binder_registry.h"
class MojoWebUIControllerBase : public content::WebUIController {
@@ -58,7 +59,8 @@ class MojoWebUIController : public MojoWebUIControllerBase {
protected:
// Invoked to create the specific bindings implementation.
- virtual void BindUIHandler(mojo::InterfaceRequest<Interface> request) = 0;
+ virtual void BindUIHandler(const service_manager::BindSourceInfo& source_info,
+ mojo::InterfaceRequest<Interface> request) = 0;
private:
base::WeakPtrFactory<MojoWebUIController> weak_factory_;
« no previous file with comments | « chrome/browser/ui/webui/engagement/site_engagement_ui.cc ('k') | chrome/browser/ui/webui/omnibox/omnibox_ui.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698