summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browser_about_handler.cc
diff options
context:
space:
mode:
authoreroman@chromium.org <eroman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-03 01:01:19 +0000
committereroman@chromium.org <eroman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-03 01:01:19 +0000
commit593a24bd03f9859617b781674f678095d2055992 (patch)
treeabb9660cab7a4d3d2178c58e67805f11c3bc5198 /chrome/browser/browser_about_handler.cc
parent4b455047c087185d3297db889deaa7413638d91f (diff)
downloadchromium_src-593a24bd03f9859617b781674f678095d2055992.zip
chromium_src-593a24bd03f9859617b781674f678095d2055992.tar.gz
chromium_src-593a24bd03f9859617b781674f678095d2055992.tar.bz2
Cleanup: Remove about:network.
This about page was only being enabled for non-official windows builds as its UI wasn't cross platform. Its functionality is now superceded by about:net-internals (which works cross platform and is enabled for all builds). In fact at some point we might consider renaming about:net-internals to about:network. BUG=25557 Review URL: http://codereview.chromium.org/2814047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51583 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browser_about_handler.cc')
-rw-r--r--chrome/browser/browser_about_handler.cc12
1 files changed, 1 insertions, 11 deletions
diff --git a/chrome/browser/browser_about_handler.cc b/chrome/browser/browser_about_handler.cc
index 88de8f0..888f2914 100644
--- a/chrome/browser/browser_about_handler.cc
+++ b/chrome/browser/browser_about_handler.cc
@@ -56,7 +56,6 @@
#if defined(OS_WIN)
#include "chrome/browser/views/about_ipc_dialog.h"
-#include "chrome/browser/views/about_network_dialog.h"
#elif defined(OS_CHROMEOS)
#include "chrome/browser/chromeos/cros/cros_library.h"
#include "chrome/browser/chromeos/cros/network_library.h"
@@ -1090,18 +1089,9 @@ bool WillHandleBrowserAboutURL(GURL* url, Profile* profile) {
// This function gets called with the fixed-up chrome: URLs, so we have to
// compare against those instead of "about:blah".
bool HandleNonNavigationAboutURL(const GURL& url) {
- // About:network and IPC and currently buggy, so we disable it for official
- // builds.
+ // about:ipc is currently buggy, so we disable it for official builds.
#if !defined(OFFICIAL_BUILD)
-#if defined(OS_WIN)
- if (LowerCaseEqualsASCII(url.spec(), chrome::kChromeUINetworkURL)) {
- // Run the dialog. This will re-use the existing one if it's already up.
- AboutNetworkDialog::RunDialog();
- return true;
- }
-#endif
-
#if (defined(OS_MACOSX) || defined(OS_WIN)) && defined(IPC_MESSAGE_LOG_ENABLED)
if (LowerCaseEqualsASCII(url.spec(), chrome::kChromeUIIPCURL)) {
// Run the dialog. This will re-use the existing one if it's already up.