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

Unified Diff: chrome/browser/dom_ui/dom_ui_factory.cc

Issue 1036001: Add a DOMUI datasource that will handle the net-internals page.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: address mbelshe comments Created 10 years, 9 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/browser_resources.grd ('k') | chrome/browser/dom_ui/net_internals_ui.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/dom_ui/dom_ui_factory.cc
===================================================================
--- chrome/browser/dom_ui/dom_ui_factory.cc (revision 41492)
+++ chrome/browser/dom_ui/dom_ui_factory.cc (working copy)
@@ -12,6 +12,7 @@
#include "chrome/browser/dom_ui/filebrowse_ui.h"
#include "chrome/browser/dom_ui/html_dialog_ui.h"
#include "chrome/browser/dom_ui/mediaplayer_ui.h"
+#include "chrome/browser/dom_ui/net_internals_ui.h"
#include "chrome/browser/dom_ui/new_tab_ui.h"
#include "chrome/browser/dom_ui/print_ui.h"
#include "chrome/browser/extensions/extension_dom_ui.h"
@@ -96,6 +97,8 @@
return &NewDOMUI<ExtensionsUI>;
if (url.host() == chrome::kChromeUIHistoryHost)
return &NewDOMUI<HistoryUI>;
+ if (url.host() == chrome::kChromeUINetInternalsHost)
+ return &NewDOMUI<NetInternalsUI>;
#if defined(OS_CHROMEOS)
if (url.host() == chrome::kChromeUIFileBrowseHost)
« no previous file with comments | « chrome/browser/browser_resources.grd ('k') | chrome/browser/dom_ui/net_internals_ui.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698