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

Unified Diff: mandoline/services/core_services/core_services_application_delegate.cc

Issue 1133893003: Omnibox app (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 5 years, 7 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 | « mandoline/services/core_services/BUILD.gn ('k') | mandoline/ui/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mandoline/services/core_services/core_services_application_delegate.cc
diff --git a/mandoline/services/core_services/core_services_application_delegate.cc b/mandoline/services/core_services/core_services_application_delegate.cc
index 2dfbaf80505e97f05b712d6141b4721ce327f462..0cf941bc42928fc62d11cd7b63757904aa7d3515 100644
--- a/mandoline/services/core_services/core_services_application_delegate.cc
+++ b/mandoline/services/core_services/core_services_application_delegate.cc
@@ -16,6 +16,7 @@
#include "url/gurl.h"
#if !defined(OS_ANDROID)
+#include "mandoline/ui/omnibox/omnibox_impl.h"
#include "mojo/services/network/network_service_delegate.h"
#endif
@@ -129,6 +130,8 @@ void CoreServicesApplicationDelegate::StartApplication(
#if !defined(OS_ANDROID)
else if (url == "mojo://network_service/")
delegate.reset(new NetworkServiceDelegate);
+ else if (url == "mojo://omnibox/")
+ delegate.reset(new mandoline::OmniboxImpl);
#endif
else if (url == "mojo://surfaces_service/")
delegate.reset(new surfaces::SurfacesServiceApplication);
« no previous file with comments | « mandoline/services/core_services/BUILD.gn ('k') | mandoline/ui/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698