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 <stdint.h> | 5 #include <stdint.h> |
6 #include <string.h> | 6 #include <string.h> |
7 | 7 |
8 #include <stack> | 8 #include <stack> |
9 #include <string> | 9 #include <string> |
10 #include <utility> | 10 #include <utility> |
11 | 11 |
12 #include "base/bind.h" | 12 #include "base/bind.h" |
13 #include "base/bind_helpers.h" | 13 #include "base/bind_helpers.h" |
14 #include "base/callback.h" | 14 #include "base/callback.h" |
15 #include "base/compiler_specific.h" | 15 #include "base/compiler_specific.h" |
16 #include "base/location.h" | 16 #include "base/location.h" |
17 #include "base/macros.h" | 17 #include "base/macros.h" |
| 18 #include "base/message_loop/message_loop.h" |
18 #include "base/pickle.h" | 19 #include "base/pickle.h" |
19 #include "base/single_thread_task_runner.h" | 20 #include "base/single_thread_task_runner.h" |
20 #include "base/synchronization/waitable_event.h" | 21 #include "base/synchronization/waitable_event.h" |
21 #include "base/threading/thread.h" | 22 #include "base/threading/thread.h" |
22 #include "base/threading/thread_task_runner_handle.h" | 23 #include "base/threading/thread_task_runner_handle.h" |
23 #include "content/browser/appcache/appcache_response.h" | 24 #include "content/browser/appcache/appcache_response.h" |
24 #include "content/browser/appcache/mock_appcache_service.h" | 25 #include "content/browser/appcache/mock_appcache_service.h" |
25 #include "net/base/io_buffer.h" | 26 #include "net/base/io_buffer.h" |
26 #include "net/base/net_errors.h" | 27 #include "net/base/net_errors.h" |
27 #include "net/http/http_response_headers.h" | 28 #include "net/http/http_response_headers.h" |
(...skipping 790 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
818 | 819 |
819 TEST_F(AppCacheResponseTest, DeleteWithinCallbacks) { | 820 TEST_F(AppCacheResponseTest, DeleteWithinCallbacks) { |
820 RunTestOnIOThread(&AppCacheResponseTest::DeleteWithinCallbacks); | 821 RunTestOnIOThread(&AppCacheResponseTest::DeleteWithinCallbacks); |
821 } | 822 } |
822 | 823 |
823 TEST_F(AppCacheResponseTest, DeleteWithIOPending) { | 824 TEST_F(AppCacheResponseTest, DeleteWithIOPending) { |
824 RunTestOnIOThread(&AppCacheResponseTest::DeleteWithIOPending); | 825 RunTestOnIOThread(&AppCacheResponseTest::DeleteWithIOPending); |
825 } | 826 } |
826 | 827 |
827 } // namespace content | 828 } // namespace content |
OLD | NEW |