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

Side by Side Diff: content/browser/loader/async_resource_handler_unittest.cc

Issue 2969463003: Move resource_request.h to content/public/common. (Closed)
Patch Set: Merge Created 3 years, 5 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
« no previous file with comments | « content/browser/loader/DEPS ('k') | content/browser/loader/resource_dispatcher_host_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/loader/async_resource_handler.h" 5 #include "content/browser/loader/async_resource_handler.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 #include <stdint.h> 8 #include <stdint.h>
9 #include <memory> 9 #include <memory>
10 #include <string> 10 #include <string>
(...skipping 11 matching lines...) Expand all
22 #include "base/process/process.h" 22 #include "base/process/process.h"
23 #include "base/run_loop.h" 23 #include "base/run_loop.h"
24 #include "base/strings/stringprintf.h" 24 #include "base/strings/stringprintf.h"
25 #include "base/test/scoped_feature_list.h" 25 #include "base/test/scoped_feature_list.h"
26 #include "content/browser/loader/resource_dispatcher_host_impl.h" 26 #include "content/browser/loader/resource_dispatcher_host_impl.h"
27 #include "content/browser/loader/resource_loader.h" 27 #include "content/browser/loader/resource_loader.h"
28 #include "content/browser/loader/resource_loader_delegate.h" 28 #include "content/browser/loader/resource_loader_delegate.h"
29 #include "content/browser/loader/resource_message_filter.h" 29 #include "content/browser/loader/resource_message_filter.h"
30 #include "content/browser/loader/resource_request_info_impl.h" 30 #include "content/browser/loader/resource_request_info_impl.h"
31 #include "content/common/resource_messages.h" 31 #include "content/common/resource_messages.h"
32 #include "content/common/resource_request.h"
33 #include "content/public/browser/resource_context.h" 32 #include "content/public/browser/resource_context.h"
34 #include "content/public/browser/resource_request_info.h" 33 #include "content/public/browser/resource_request_info.h"
35 #include "content/public/common/content_features.h" 34 #include "content/public/common/content_features.h"
36 #include "content/public/common/previews_state.h" 35 #include "content/public/common/previews_state.h"
36 #include "content/public/common/resource_request.h"
37 #include "content/public/common/resource_type.h" 37 #include "content/public/common/resource_type.h"
38 #include "content/public/test/mock_resource_context.h" 38 #include "content/public/test/mock_resource_context.h"
39 #include "content/public/test/test_browser_thread_bundle.h" 39 #include "content/public/test/test_browser_thread_bundle.h"
40 #include "ipc/ipc_message.h" 40 #include "ipc/ipc_message.h"
41 #include "ipc/ipc_message_macros.h" 41 #include "ipc/ipc_message_macros.h"
42 #include "net/http/http_response_headers.h" 42 #include "net/http/http_response_headers.h"
43 #include "net/http/http_util.h" 43 #include "net/http/http_util.h"
44 #include "net/ssl/client_cert_store.h" 44 #include "net/ssl/client_cert_store.h"
45 #include "net/traffic_annotation/network_traffic_annotation_test_helper.h" 45 #include "net/traffic_annotation/network_traffic_annotation_test_helper.h"
46 #include "net/url_request/url_request.h" 46 #include "net/url_request/url_request.h"
(...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after
300 ResourceRequestCompletionStatus completion_status = 300 ResourceRequestCompletionStatus completion_status =
301 std::get<1>(completion_params); 301 std::get<1>(completion_params);
302 EXPECT_EQ(TotalReceivedBytes(kDataSize), 302 EXPECT_EQ(TotalReceivedBytes(kDataSize),
303 completion_status.encoded_data_length); 303 completion_status.encoded_data_length);
304 EXPECT_EQ(kDataSize, completion_status.encoded_body_length); 304 EXPECT_EQ(kDataSize, completion_status.encoded_body_length);
305 } 305 }
306 306
307 } // namespace 307 } // namespace
308 308
309 } // namespace content 309 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/loader/DEPS ('k') | content/browser/loader/resource_dispatcher_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698