Index: chrome/browser/custom_handlers/protocol_handler_registry_unittest.cc |
diff --git a/chrome/browser/custom_handlers/protocol_handler_registry_unittest.cc b/chrome/browser/custom_handlers/protocol_handler_registry_unittest.cc |
index 75b24ac317822880df086302d883e1233167406b..bde878ea2633341fa822b146723881c59035c077 100644 |
--- a/chrome/browser/custom_handlers/protocol_handler_registry_unittest.cc |
+++ b/chrome/browser/custom_handlers/protocol_handler_registry_unittest.cc |
@@ -21,6 +21,7 @@ |
#include "content/public/browser/notification_source.h" |
#include "content/public/test/test_browser_thread.h" |
#include "content/public/test/test_renderer_host.h" |
+#include "net/base/request_priority.h" |
#include "net/url_request/url_request.h" |
#include "net/url_request/url_request_context.h" |
#include "testing/gtest/include/gtest/gtest.h" |
@@ -34,8 +35,9 @@ void AssertInterceptedIO( |
net::URLRequestJobFactory* interceptor) { |
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO)); |
net::URLRequestContext context; |
- net::NetworkDelegate *network_delegate = NULL; |
- net::URLRequest request(url, NULL, &context); |
+ net::NetworkDelegate* network_delegate = NULL; |
+ net::URLRequest request( |
+ url, net::DEFAULT_PRIORITY, NULL, &context, network_delegate); |
scoped_refptr<net::URLRequestJob> job = |
interceptor->MaybeCreateJobWithProtocolHandler( |
url.scheme(), &request, network_delegate); |