OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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/web_url_loader_impl.h" | 5 #include "content/child/web_url_loader_impl.h" |
6 | 6 |
| 7 #include <stdint.h> |
7 #include <string.h> | 8 #include <string.h> |
8 #include <vector> | 9 #include <vector> |
9 | 10 |
10 #include "base/command_line.h" | 11 #include "base/command_line.h" |
11 #include "base/macros.h" | 12 #include "base/macros.h" |
12 #include "base/memory/weak_ptr.h" | 13 #include "base/memory/weak_ptr.h" |
13 #include "base/message_loop/message_loop.h" | 14 #include "base/message_loop/message_loop.h" |
14 #include "base/single_thread_task_runner.h" | 15 #include "base/single_thread_task_runner.h" |
15 #include "base/time/time.h" | 16 #include "base/time/time.h" |
16 #include "components/scheduler/child/web_task_runner_impl.h" | 17 #include "components/scheduler/child/web_task_runner_impl.h" |
(...skipping 694 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
711 EXPECT_EQ(kMimeType, client()->response().mimeType().latin1()); | 712 EXPECT_EQ(kMimeType, client()->response().mimeType().latin1()); |
712 | 713 |
713 DoReceiveData(); | 714 DoReceiveData(); |
714 DoCompleteRequest(); | 715 DoCompleteRequest(); |
715 EXPECT_FALSE(dispatcher()->canceled()); | 716 EXPECT_FALSE(dispatcher()->canceled()); |
716 EXPECT_EQ(kTestData, client()->received_data()); | 717 EXPECT_EQ(kTestData, client()->received_data()); |
717 } | 718 } |
718 | 719 |
719 } // namespace | 720 } // namespace |
720 } // namespace content | 721 } // namespace content |
OLD | NEW |