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

Unified Diff: chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc

Issue 2629573004: Add a chrome://webapks page. (Closed)
Patch Set: Add a chrome://webapks page. Created 3 years, 10 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 | « chrome/browser/ui/DEPS ('k') | chrome/browser/ui/webui/webapks_handler.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc
diff --git a/chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc b/chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc
index a0c0c25807fd0f01af27bfb40a1a09fb8aa14790..a5a7b81fe5f9ed71b91662ad0f3fd0fe56362689 100644
--- a/chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc
+++ b/chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc
@@ -115,6 +115,7 @@
#include "chrome/browser/ui/webui/offline/offline_internals_ui.h"
#include "chrome/browser/ui/webui/popular_sites_internals_ui.h"
#include "chrome/browser/ui/webui/snippets_internals_ui.h"
+#include "chrome/browser/ui/webui/webapks_ui.h"
#if defined(ENABLE_VR_SHELL) || defined(ENABLE_WEBVR)
#include "chrome/browser/ui/webui/vr_shell/vr_shell_ui_ui.h"
#endif
@@ -519,6 +520,8 @@ WebUIFactoryFunction GetWebUIFactoryFunction(WebUI* web_ui,
if (url.host_piece() == chrome::kChromeUISnippetsInternalsHost &&
!profile->IsOffTheRecord())
return &NewWebUI<SnippetsInternalsUI>;
+ if (url.host_piece() == chrome::kChromeUIWebApksHost)
+ return &NewWebUI<WebApksUI>;
#if defined(ENABLE_VR_SHELL) || defined(ENABLE_WEBVR)
if (url.host_piece() == chrome::kChromeUIVrShellUIHost)
return &NewWebUI<VrShellUIUI>;
« no previous file with comments | « chrome/browser/ui/DEPS ('k') | chrome/browser/ui/webui/webapks_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698