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

Unified Diff: content/browser/loader/resource_scheduler.cc

Issue 598453004: Replace some hard coded schemes with the constants in /url/url_constants.h. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address the comment. Created 6 years, 3 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 | « content/browser/loader/resource_dispatcher_host_impl.cc ('k') | content/child/npapi/plugin_url_fetcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/loader/resource_scheduler.cc
diff --git a/content/browser/loader/resource_scheduler.cc b/content/browser/loader/resource_scheduler.cc
index 0d54b7b106d7e93ab0c8837a5ed3f17bcaa91090..0dd93f32f64e82a8ce933f38b7168f59f6dbd6f4 100644
--- a/content/browser/loader/resource_scheduler.cc
+++ b/content/browser/loader/resource_scheduler.cc
@@ -613,7 +613,7 @@ class ResourceScheduler::Client {
return DO_NOT_START_REQUEST_AND_STOP_SEARCHING;
}
- if (using_spdy_proxy_ && url_request.url().SchemeIs("http")) {
+ if (using_spdy_proxy_ && url_request.url().SchemeIs(url::kHttpScheme)) {
return START_REQUEST;
}
« no previous file with comments | « content/browser/loader/resource_dispatcher_host_impl.cc ('k') | content/child/npapi/plugin_url_fetcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698