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

Unified Diff: content/browser/renderer_host/render_view_host.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
Index: content/browser/renderer_host/render_view_host.cc
===================================================================
--- content/browser/renderer_host/render_view_host.cc (revision 86304)
+++ content/browser/renderer_host/render_view_host.cc (working copy)
@@ -234,7 +234,7 @@
}
const GURL& url = params.url;
if (!delegate_->IsExternalTabContainer() &&
- (url.SchemeIs("http") || url.SchemeIs("https")))
+ (url.SchemeIs(chrome::kHttpScheme) || url.SchemeIs(chrome::kHttpsScheme)))
chrome_browser_net::PreconnectUrlAndSubresources(url);
}
« no previous file with comments | « chrome/browser/prerender/prerender_contents.cc ('k') | content/browser/tab_contents/tab_contents_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698