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

Unified Diff: chrome/browser/prerender/prerender_browsertest.cc

Issue 9349010: Move handling of debug urls like chrome://crash, chrome://gpuclean to content. These are for test... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 8 years, 10 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/prerender/prerender_browsertest.cc
===================================================================
--- chrome/browser/prerender/prerender_browsertest.cc (revision 120733)
+++ chrome/browser/prerender/prerender_browsertest.cc (working copy)
@@ -194,7 +194,7 @@
virtual bool AddAliasURL(const GURL& url) OVERRIDE {
// Prevent FINAL_STATUS_UNSUPPORTED_SCHEME when navigating to about:crash in
// the PrerenderRendererCrash test.
- if (url.spec() != chrome::kAboutCrashURL)
+ if (url.spec() != chrome::kChromeUICrashURL)
return PrerenderContents::AddAliasURL(url);
return true;
}
@@ -1373,7 +1373,7 @@
ASSERT_TRUE(GetPrerenderContents()->prerender_contents());
GetPrerenderContents()->prerender_contents()->web_contents()->GetController().
LoadURL(
- GURL(chrome::kAboutCrashURL),
+ GURL(chrome::kChromeUICrashURL),
content::Referrer(),
content::PAGE_TRANSITION_TYPED,
std::string());

Powered by Google App Engine
This is Rietveld 408576698