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

Unified Diff: chrome/browser/browser_about_handler_unittest.cc

Issue 7068007: Revise about: and chrome: url handling. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Cleanup and improve patch. Created 9 years, 7 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
Index: chrome/browser/browser_about_handler_unittest.cc
diff --git a/chrome/browser/browser_about_handler_unittest.cc b/chrome/browser/browser_about_handler_unittest.cc
index 9b305509eabd53b7e1318776c195aec09a127864..94870dfce5d08e11ba07b1ed7d35b20550c5c9f8 100644
--- a/chrome/browser/browser_about_handler_unittest.cc
+++ b/chrome/browser/browser_about_handler_unittest.cc
@@ -89,14 +89,32 @@ TEST_F(BrowserAboutHandlerTest, WillHandleBrowserAboutURL) {
false
},
{
- GURL("about:memory"),
- GURL("chrome://about/memory-redirect"),
+ GURL(chrome::kAboutMemoryURL),
+ GURL(chrome::kChromeUIMemoryRedirectURL),
false,
true
},
{
GURL("about:mars"),
- GURL("chrome://about/mars"),
+ GURL("chrome://mars"),
+ false,
+ true
+ },
+ {
+ GURL("about://cars"),
+ GURL("chrome://cars"),
+ false,
+ true
+ },
+ {
+ GURL("chrome:bars"),
+ GURL("chrome://bars"),
+ false,
+ true
+ },
+ {
+ GURL("chrome://wars"),
+ GURL("chrome://wars"),
false,
true
},

Powered by Google App Engine
This is Rietveld 408576698