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

Unified Diff: chrome/browser/chrome_content_browser_client.cc

Issue 114883002: Remove chrome-internal scheme, chrome::kChromeInternalScheme. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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
Index: chrome/browser/chrome_content_browser_client.cc
diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/chrome_content_browser_client.cc
index 099a6484a25350aee9229ccd3e0fa9c0c4f16181..f6ce87e2ec8ed8608796a4f775795a040801db70 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;
}

Powered by Google App Engine
This is Rietveld 408576698