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

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

Issue 1430313003: Change MojoWebUIController to use mojo::StrongBindingSet. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mojo-geolocation-untangle
Patch Set: Created 5 years 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/ui/webui/omnibox/omnibox_ui.h ('k') | chrome/browser/ui/webui/omnibox/omnibox_ui_handler.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 cb02a8973b7c8c15c66931bb2515156802791294..0a38670bd1d73025fc139599f1a8a5215ebbb682 100644
--- a/chrome/browser/ui/webui/omnibox/omnibox_ui.cc
+++ b/chrome/browser/ui/webui/omnibox/omnibox_ui.cc
@@ -26,10 +26,4 @@ OmniboxUI::OmniboxUI(content::WebUI* web_ui) : MojoWebUIController(web_ui) {
content::WebUIDataSource::Add(Profile::FromWebUI(web_ui), source);
}
-OmniboxUI::~OmniboxUI() {}
-
-void OmniboxUI::BindUIHandler(
- mojo::InterfaceRequest<OmniboxUIHandlerMojo> request) {
- // OmniboxUIHandler deletes itself when the pipe is closed.
- new OmniboxUIHandler(Profile::FromWebUI(web_ui()), request.Pass());
-}
+OmniboxUI::~OmniboxUI() = default;
« no previous file with comments | « chrome/browser/ui/webui/omnibox/omnibox_ui.h ('k') | chrome/browser/ui/webui/omnibox/omnibox_ui_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698