summaryrefslogtreecommitdiffstats
path: root/chrome/browser/chrome_content_browser_client.cc
diff options
context:
space:
mode:
authormsw@chromium.org <msw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-12-14 00:33:02 +0000
committermsw@chromium.org <msw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-12-14 00:33:02 +0000
commit218ebce4d1ea1554cfa9ad6f14c24ae699c6841d (patch)
treea90756f85e033cbd539a5fbd61bb3c4ecf2a6efe /chrome/browser/chrome_content_browser_client.cc
parentc74876d2cc8be84a4b4c4acdf2497d17716e1d3a (diff)
downloadchromium_src-218ebce4d1ea1554cfa9ad6f14c24ae699c6841d.zip
chromium_src-218ebce4d1ea1554cfa9ad6f14c24ae699c6841d.tar.gz
chromium_src-218ebce4d1ea1554cfa9ad6f14c24ae699c6841d.tar.bz2
Remove chrome-internal scheme, chrome::kChromeInternalScheme.
The chrome-internal scheme was once used to host the NTP. It's now hosted at about:newtab, aka. chrome://newtab. There's no compelling reason to support chrome-internal. BUG=6564,327845 R=jam@chromium.org TEST=chrome-internal://foo no longer redirects to the new tab page, no one gets upset. Review URL: https://codereview.chromium.org/114883002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@240819 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/chrome_content_browser_client.cc')
-rw-r--r--chrome/browser/chrome_content_browser_client.cc9
1 files changed, 0 insertions, 9 deletions
diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/chrome_content_browser_client.cc
index 981532a..0541518 100644
--- a/chrome/browser/chrome_content_browser_client.cc
+++ b/chrome/browser/chrome_content_browser_client.cc
@@ -383,15 +383,6 @@ bool HandleWebUI(GURL* url, content::BrowserContext* browser_context) {
}
#endif
- // Special case the new tab page. In older versions of Chrome, the new tab
- // page was hosted at chrome-internal:<blah>. This might be in people's saved
- // sessions or bookmarks, so we say any URL with that scheme triggers the new
- // tab page.
- if (url->SchemeIs(chrome::kChromeInternalScheme)) {
- // Rewrite it with the proper new tab URL.
- *url = GURL(chrome::kChromeUINewTabURL);
- }
-
return true;
}