| 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_data_consumer_handle_impl.h" | 5 #include "content/child/web_data_consumer_handle_impl.h" |
| 6 | 6 |
| 7 #include <stddef.h> |
| 8 #include <stdint.h> |
| 9 |
| 7 #include <algorithm> | 10 #include <algorithm> |
| 8 #include <string> | 11 #include <string> |
| 9 #include "base/bind.h" | 12 #include "base/bind.h" |
| 10 #include "base/location.h" | 13 #include "base/location.h" |
| 11 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
| 12 #include "base/run_loop.h" | 15 #include "base/run_loop.h" |
| 13 #include "base/single_thread_task_runner.h" | 16 #include "base/single_thread_task_runner.h" |
| 14 #include "base/synchronization/waitable_event.h" | 17 #include "base/synchronization/waitable_event.h" |
| 15 #include "base/thread_task_runner_handle.h" | 18 #include "base/thread_task_runner_handle.h" |
| 16 #include "base/threading/thread.h" | 19 #include "base/threading/thread.h" |
| (...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 264 | 267 |
| 265 run_loop.Run(); | 268 run_loop.Run(); |
| 266 t.Stop(); | 269 t.Stop(); |
| 267 | 270 |
| 268 EXPECT_EQ(expected, operation->result()); | 271 EXPECT_EQ(expected, operation->result()); |
| 269 } | 272 } |
| 270 | 273 |
| 271 } // namespace | 274 } // namespace |
| 272 | 275 |
| 273 } // namespace content | 276 } // namespace content |
| OLD | NEW |