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

Side by Side Diff: content/child/url_response_body_consumer_unittest.cc

Issue 2884763002: Automated IWYU fix for TaskRunner includes. (Closed)
Patch Set: rebase on r472096 Created 3 years, 7 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/child/indexed_db/webidbfactory_impl.h ('k') | content/gpu/gpu_child_thread.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/child/url_response_body_consumer.h" 5 #include "content/child/url_response_body_consumer.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/callback_forward.h" 8 #include "base/callback_forward.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "base/memory/ptr_util.h" 10 #include "base/memory/ptr_util.h"
11 #include "base/message_loop/message_loop.h" 11 #include "base/message_loop/message_loop.h"
12 #include "base/run_loop.h" 12 #include "base/run_loop.h"
13 #include "base/single_thread_task_runner.h"
13 #include "content/child/request_extra_data.h" 14 #include "content/child/request_extra_data.h"
14 #include "content/child/resource_dispatcher.h" 15 #include "content/child/resource_dispatcher.h"
15 #include "content/common/resource_messages.h" 16 #include "content/common/resource_messages.h"
16 #include "content/common/resource_request.h" 17 #include "content/common/resource_request.h"
17 #include "content/common/resource_request_completion_status.h" 18 #include "content/common/resource_request_completion_status.h"
18 #include "content/common/service_worker/service_worker_types.h" 19 #include "content/common/service_worker/service_worker_types.h"
19 #include "content/public/child/request_peer.h" 20 #include "content/public/child/request_peer.h"
20 #include "content/public/common/request_context_frame_type.h" 21 #include "content/public/common/request_context_frame_type.h"
21 #include "net/base/request_priority.h" 22 #include "net/base/request_priority.h"
22 #include "testing/gtest/include/gtest/gtest.h" 23 #include "testing/gtest/include/gtest/gtest.h"
(...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after
303 EXPECT_EQ(std::string(kMaxNumConsumedBytesInTask, 'a'), context.data); 304 EXPECT_EQ(std::string(kMaxNumConsumedBytesInTask, 'a'), context.data);
304 context.data.clear(); 305 context.data.clear();
305 306
306 Run(&context); 307 Run(&context);
307 EXPECT_EQ(std::string(kMaxNumConsumedBytesInTask, 'b'), context.data); 308 EXPECT_EQ(std::string(kMaxNumConsumedBytesInTask, 'b'), context.data);
308 } 309 }
309 310
310 } // namespace 311 } // namespace
311 312
312 } // namespace content 313 } // namespace content
OLDNEW
« no previous file with comments | « content/child/indexed_db/webidbfactory_impl.h ('k') | content/gpu/gpu_child_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698