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

Unified Diff: net/url_request/url_request.h

Issue 3050016: Implement prefetching in chrome (Closed)
Patch Set: merge to trunk Created 10 years, 5 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 | « net/spdy/spdy_test_util.cc ('k') | webkit/glue/resource_type.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/url_request/url_request.h
diff --git a/net/url_request/url_request.h b/net/url_request/url_request.h
index a6ef386dc1ba7cf59a55fb8a1c7f90a08e89aaa5..06b10488db6b3b3188f8584b78e1a2dbabdb0b61 100644
--- a/net/url_request/url_request.h
+++ b/net/url_request/url_request.h
@@ -545,7 +545,7 @@ class URLRequest : public NonThreadSafe {
net::RequestPriority priority() const { return priority_; }
void set_priority(net::RequestPriority priority) {
DCHECK_GE(priority, net::HIGHEST);
- DCHECK_LE(priority, net::LOWEST);
+ DCHECK_LT(priority, net::NUM_PRIORITIES);
priority_ = priority;
}
« no previous file with comments | « net/spdy/spdy_test_util.cc ('k') | webkit/glue/resource_type.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698