Index: content/browser/loader/upload_data_stream_builder_unittest.cc |
diff --git a/content/browser/loader/upload_data_stream_builder_unittest.cc b/content/browser/loader/upload_data_stream_builder_unittest.cc |
index 26058d75b020e8152f7ac7a58727880bb0a5247e..678cb97644b9b18bb0c2b6f124e4c0257146f976 100644 |
--- a/content/browser/loader/upload_data_stream_builder_unittest.cc |
+++ b/content/browser/loader/upload_data_stream_builder_unittest.cc |
@@ -16,7 +16,7 @@ |
#include "base/run_loop.h" |
#include "base/threading/thread_task_runner_handle.h" |
#include "base/time/time.h" |
-#include "content/common/resource_request_body_impl.h" |
+#include "content/public/common/resource_request_body.h" |
#include "net/base/io_buffer.h" |
#include "net/base/net_errors.h" |
#include "net/base/test_completion_callback.h" |
@@ -40,8 +40,7 @@ namespace content { |
TEST(UploadDataStreamBuilderTest, CreateUploadDataStream) { |
base::MessageLoop message_loop; |
{ |
- scoped_refptr<ResourceRequestBodyImpl> request_body = |
- new ResourceRequestBodyImpl; |
+ scoped_refptr<ResourceRequestBody> request_body = new ResourceRequestBody; |
const std::string kBlob = "blobuuid"; |
const std::string kBlobData = "blobdata"; |
@@ -119,14 +118,13 @@ TEST(UploadDataStreamBuilderTest, |
std::unique_ptr<BlobDataHandle> handle = |
blob_storage_context.AddFinishedBlob(blob_data_builder.get()); |
- scoped_refptr<ResourceRequestBodyImpl> request_body( |
- new ResourceRequestBodyImpl()); |
+ scoped_refptr<ResourceRequestBody> request_body(new ResourceRequestBody()); |
std::unique_ptr<net::UploadDataStream> upload( |
UploadDataStreamBuilder::Build( |
request_body.get(), &blob_storage_context, NULL, |
base::ThreadTaskRunnerHandle::Get().get())); |
- request_body = new ResourceRequestBodyImpl(); |
+ request_body = new ResourceRequestBody(); |
request_body->AppendBlob(blob_id); |
request_body->AppendBlob(blob_id); |
request_body->AppendBlob(blob_id); |
@@ -165,8 +163,7 @@ TEST(UploadDataStreamBuilderTest, |
TEST(UploadDataStreamBuilderTest, ResetUploadStreamWithBlob) { |
base::MessageLoopForIO message_loop; |
{ |
- scoped_refptr<ResourceRequestBodyImpl> request_body = |
- new ResourceRequestBodyImpl; |
+ scoped_refptr<ResourceRequestBody> request_body = new ResourceRequestBody; |
const std::string kBlob = "blobuuid"; |
const std::string kBlobData = "blobdata"; |