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

Unified Diff: chrome_frame/test/net/test_automation_provider.cc

Issue 10855209: Refactoring: ProtocolHandler::MaybeCreateJob takes NetworkDelegate as argument (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Latest merge Created 8 years, 4 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 | « chrome_frame/test/net/test_automation_provider.h ('k') | content/browser/histogram_internals_request_job.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome_frame/test/net/test_automation_provider.cc
diff --git a/chrome_frame/test/net/test_automation_provider.cc b/chrome_frame/test/net/test_automation_provider.cc
index 980b3e5544770385fbf49296ba8af9848dd252bc..9012a19a3bc596116f40b07444560f5fd7963ced 100644
--- a/chrome_frame/test/net/test_automation_provider.cc
+++ b/chrome_frame/test/net/test_automation_provider.cc
@@ -69,8 +69,10 @@ bool TestAutomationProvider::Send(IPC::Message* msg) {
return AutomationProvider::Send(msg);
}
-net::URLRequestJob* TestAutomationProvider::Factory(net::URLRequest* request,
- const std::string& scheme) {
+net::URLRequestJob* TestAutomationProvider::Factory(
+ net::URLRequest* request,
+ net::NetworkDelegate* network_delegate,
+ const std::string& scheme) {
if (CFTestsDisabled())
return NULL;
@@ -89,7 +91,8 @@ net::URLRequestJob* TestAutomationProvider::Factory(net::URLRequest* request,
// and without userdata, we're OK. However, just to make debugging
// a little easier, we have a significantly higher start value.
static int new_id = 0x00100000;
- URLRequestAutomationJob* job = new URLRequestAutomationJob(request,
+ URLRequestAutomationJob* job = new URLRequestAutomationJob(
+ request, network_delegate,
g_provider_instance_->tab_handle_, new_id++,
g_provider_instance_->automation_resource_message_filter_, false);
return job;
« no previous file with comments | « chrome_frame/test/net/test_automation_provider.h ('k') | content/browser/histogram_internals_request_job.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698