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

Unified Diff: chrome/browser/net/connection_tester.cc

Issue 51953002: [Net] Add a priority parameter to URLRequest's constructor (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comments Created 7 years, 2 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/net/connection_tester.cc
diff --git a/chrome/browser/net/connection_tester.cc b/chrome/browser/net/connection_tester.cc
index 7a06aae2c96c11d306cce57d7730f0d727641480..0d38a6c3bf510376ae7dd83c0157d3a9adc8e610 100644
--- a/chrome/browser/net/connection_tester.cc
+++ b/chrome/browser/net/connection_tester.cc
@@ -18,6 +18,7 @@
#include "net/base/io_buffer.h"
#include "net/base/net_errors.h"
#include "net/base/net_util.h"
+#include "net/base/request_priority.h"
#include "net/cert/cert_verifier.h"
#include "net/cookies/cookie_monster.h"
#include "net/dns/host_resolver.h"
@@ -409,7 +410,8 @@ void ConnectionTester::TestRunner::ProxyConfigServiceCreated(
return;
}
// Fetch a request using the experimental context.
- request_.reset(request_context_->CreateRequest(experiment.url, this));
+ request_ = request_context_->CreateRequest(
+ experiment.url, net::DEFAULT_PRIORITY, this);
request_->Start();
}
« no previous file with comments | « chrome/browser/net/chrome_network_delegate_unittest.cc ('k') | chrome/browser/net/http_pipelining_compatibility_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698