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

Unified Diff: chrome/browser/ui/webui/omnibox/omnibox_ui.cc

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/omnibox/omnibox_ui.cc
diff --git a/chrome/browser/ui/webui/omnibox/omnibox_ui.cc b/chrome/browser/ui/webui/omnibox/omnibox_ui.cc
index f732e9b26992f63be742a00976c09b6e7958b35d..439115ef7204a19fb34ebb6a769c6da5abc3d208 100644
--- a/chrome/browser/ui/webui/omnibox/omnibox_ui.cc
+++ b/chrome/browser/ui/webui/omnibox/omnibox_ui.cc
@@ -30,7 +30,8 @@ OmniboxUI::OmniboxUI(content::WebUI* web_ui) : MojoWebUIController(web_ui) {
OmniboxUI::~OmniboxUI() {}
void OmniboxUI::BindUIHandler(
- mojo::InterfaceRequest<mojom::OmniboxPageHandler> request) {
+ const service_manager::BindSourceInfo& source_info,
+ mojom::OmniboxPageHandlerRequest request) {
omnibox_handler_.reset(
new OmniboxPageHandler(Profile::FromWebUI(web_ui()), std::move(request)));
}
« no previous file with comments | « chrome/browser/ui/webui/omnibox/omnibox_ui.h ('k') | chrome/browser/ui/webui/usb_internals/usb_internals_ui.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698