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

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

Issue 6990043: Replace "http" etc with the url_constants version. This was a previous TODO for webplugin_proxy.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: 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
« no previous file with comments | « no previous file | content/browser/renderer_host/render_view_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/prerender/prerender_contents.cc
===================================================================
--- chrome/browser/prerender/prerender_contents.cc (revision 86304)
+++ chrome/browser/prerender/prerender_contents.cc (working copy)
@@ -663,8 +663,8 @@
}
bool PrerenderContents::AddAliasURL(const GURL& url) {
- if (!url.SchemeIs("http")) {
- if (url.SchemeIs("https"))
+ if (!url.SchemeIs(chrome::kHttpScheme)) {
+ if (url.SchemeIs(chrome::kHttpsScheme))
Destroy(FINAL_STATUS_HTTPS);
else
Destroy(FINAL_STATUS_UNSUPPORTED_SCHEME);
« no previous file with comments | « no previous file | content/browser/renderer_host/render_view_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698