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

Side by Side Diff: content/browser/blob_storage/blob_dispatcher_host_unittest.cc

Issue 2368913003: Populate storage_unittests target. (Closed)
Patch Set: Removed unnecessary include from storage/browser/blob/blob_storage_context_unittest.cc. Created 4 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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/browser/blob_storage/blob_dispatcher_host.h" 5 #include "content/browser/blob_storage/blob_dispatcher_host.h"
6 6
7 #include <memory> 7 #include <memory>
8 #include <tuple> 8 #include <tuple>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/command_line.h" 11 #include "base/command_line.h"
12 #include "base/memory/shared_memory.h" 12 #include "base/memory/shared_memory.h"
13 #include "base/run_loop.h" 13 #include "base/run_loop.h"
14 #include "content/browser/blob_storage/chrome_blob_storage_context.h" 14 #include "content/browser/blob_storage/chrome_blob_storage_context.h"
15 #include "content/common/fileapi/webblob_messages.h" 15 #include "content/common/fileapi/webblob_messages.h"
16 #include "content/public/common/content_switches.h" 16 #include "content/public/common/content_switches.h"
17 #include "content/public/test/test_browser_context.h" 17 #include "content/public/test/test_browser_context.h"
18 #include "content/public/test/test_browser_thread_bundle.h" 18 #include "content/public/test/test_browser_thread_bundle.h"
19 #include "content/public/test/test_file_system_context.h"
20 #include "ipc/ipc_sender.h" 19 #include "ipc/ipc_sender.h"
21 #include "ipc/ipc_test_sink.h" 20 #include "ipc/ipc_test_sink.h"
22 #include "ipc/message_filter.h" 21 #include "ipc/message_filter.h"
23 #include "storage/browser/blob/blob_data_builder.h" 22 #include "storage/browser/blob/blob_data_builder.h"
24 #include "storage/browser/blob/blob_data_handle.h" 23 #include "storage/browser/blob/blob_data_handle.h"
25 #include "storage/browser/blob/blob_storage_context.h" 24 #include "storage/browser/blob/blob_storage_context.h"
25 #include "storage/browser/test/test_file_system_context.h"
26 #include "storage/common/blob_storage/blob_item_bytes_request.h" 26 #include "storage/common/blob_storage/blob_item_bytes_request.h"
27 #include "storage/common/blob_storage/blob_item_bytes_response.h" 27 #include "storage/common/blob_storage/blob_item_bytes_response.h"
28 #include "storage/common/data_element.h" 28 #include "storage/common/data_element.h"
29 #include "testing/gmock/include/gmock/gmock.h" 29 #include "testing/gmock/include/gmock/gmock.h"
30 #include "testing/gtest/include/gtest/gtest.h" 30 #include "testing/gtest/include/gtest/gtest.h"
31 31
32 using storage::BlobDataBuilder; 32 using storage::BlobDataBuilder;
33 using storage::BlobDataHandle; 33 using storage::BlobDataHandle;
34 using storage::BlobItemBytesRequest; 34 using storage::BlobItemBytesRequest;
35 using storage::BlobItemBytesResponse; 35 using storage::BlobItemBytesResponse;
(...skipping 1169 matching lines...) Expand 10 before | Expand all | Expand 10 after
1205 EXPECT_EQ(IPCBlobCreationCancelCode::SOURCE_DIED_IN_TRANSIT, 1205 EXPECT_EQ(IPCBlobCreationCancelCode::SOURCE_DIED_IN_TRANSIT,
1206 same_host_error_code); 1206 same_host_error_code);
1207 EXPECT_FALSE(other_host_built); 1207 EXPECT_FALSE(other_host_built);
1208 EXPECT_EQ(IPCBlobCreationCancelCode::SOURCE_DIED_IN_TRANSIT, 1208 EXPECT_EQ(IPCBlobCreationCancelCode::SOURCE_DIED_IN_TRANSIT,
1209 other_host_error_code); 1209 other_host_error_code);
1210 1210
1211 sink_.ClearMessages(); 1211 sink_.ClearMessages();
1212 } 1212 }
1213 1213
1214 } // namespace content 1214 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698