| Index: content/common/resource_dispatcher_unittest.cc
|
| diff --git a/content/common/resource_dispatcher_unittest.cc b/content/common/resource_dispatcher_unittest.cc
|
| index f66dc2e781844a88032d1dcfae458ad53a766d38..7519a475271fb4d77a284992d1c821b9c344d29a 100644
|
| --- a/content/common/resource_dispatcher_unittest.cc
|
| +++ b/content/common/resource_dispatcher_unittest.cc
|
| @@ -13,6 +13,7 @@
|
| #include "content/common/resource_dispatcher.h"
|
| #include "content/common/resource_messages.h"
|
| #include "content/public/common/resource_response.h"
|
| +#include "net/base/net_errors.h"
|
| #include "net/base/upload_data.h"
|
| #include "net/http/http_response_headers.h"
|
| #include "testing/gtest/include/gtest/gtest.h"
|
| @@ -65,7 +66,7 @@ class TestRequestCallback : public ResourceLoaderBridge::Peer {
|
| total_encoded_data_length_ += encoded_data_length;
|
| }
|
|
|
| - virtual void OnCompletedRequest(const net::URLRequestStatus& status,
|
| + virtual void OnCompletedRequest(int error_code,
|
| const std::string& security_info,
|
| const base::TimeTicks& completion_time) {
|
| EXPECT_FALSE(complete_);
|
| @@ -243,7 +244,7 @@ class DeferredResourceLoadingTest : public ResourceDispatcherTest,
|
| set_defer_loading(true);
|
|
|
| content::ResourceResponseHead response_head;
|
| - response_head.status.set_status(net::URLRequestStatus::SUCCESS);
|
| + response_head.error_code = net::OK;
|
|
|
| IPC::Message* response_message =
|
| new ResourceMsg_ReceivedResponse(0, 0, response_head);
|
| @@ -296,7 +297,7 @@ class DeferredResourceLoadingTest : public ResourceDispatcherTest,
|
| set_defer_loading(false);
|
| }
|
|
|
| - virtual void OnCompletedRequest(const net::URLRequestStatus& status,
|
| + virtual void OnCompletedRequest(int error_code,
|
| const std::string& security_info,
|
| const base::TimeTicks& completion_time) {
|
| }
|
|
|