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

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

Issue 7003064: Add placeholder chrome://media-internals page. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Add placeholder chrome://media-internals page. Created 9 years, 6 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/resources/media_internals.html ('k') | chrome/browser/ui/webui/media_internals_ui.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_factory.cc
diff --git a/chrome/browser/ui/webui/chrome_web_ui_factory.cc b/chrome/browser/ui/webui/chrome_web_ui_factory.cc
index 791e89734bdd32212b81210236f80e3dd6d67f8e..ea6d0633f519e122ba82ee1b81fbcbae07c1f397 100644
--- a/chrome/browser/ui/webui/chrome_web_ui_factory.cc
+++ b/chrome/browser/ui/webui/chrome_web_ui_factory.cc
@@ -24,6 +24,7 @@
#include "chrome/browser/ui/webui/history2_ui.h"
#include "chrome/browser/ui/webui/history_ui.h"
#include "chrome/browser/ui/webui/html_dialog_ui.h"
+#include "chrome/browser/ui/webui/media_internals_ui.h"
#include "chrome/browser/ui/webui/net_internals_ui.h"
#include "chrome/browser/ui/webui/ntp/new_tab_ui.h"
#include "chrome/browser/ui/webui/options/options_ui.h"
@@ -166,6 +167,8 @@ static WebUIFactoryFunction GetWebUIFactoryFunction(Profile* profile,
#endif
if (url.host() == chrome::kChromeUIGpuInternalsHost)
return &NewWebUI<GpuInternalsUI>;
+ if (url.host() == chrome::kChromeUIMediaInternalsHost)
+ return &NewWebUI<MediaInternalsUI>;
if (url.host() == chrome::kChromeUINetInternalsHost)
return &NewWebUI<NetInternalsUI>;
if (url.host() == chrome::kChromeUIPluginsHost)
« no previous file with comments | « chrome/browser/resources/media_internals.html ('k') | chrome/browser/ui/webui/media_internals_ui.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698