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/pickle.h" | 18 #include "base/pickle.h" |
19 #include "base/single_thread_task_runner.h" | 19 #include "base/single_thread_task_runner.h" |
20 #include "base/synchronization/waitable_event.h" | 20 #include "base/synchronization/waitable_event.h" |
21 #include "base/thread_task_runner_handle.h" | |
22 #include "base/threading/thread.h" | 21 #include "base/threading/thread.h" |
| 22 #include "base/threading/thread_task_runner_handle.h" |
23 #include "content/browser/appcache/appcache_response.h" | 23 #include "content/browser/appcache/appcache_response.h" |
24 #include "content/browser/appcache/mock_appcache_service.h" | 24 #include "content/browser/appcache/mock_appcache_service.h" |
25 #include "net/base/io_buffer.h" | 25 #include "net/base/io_buffer.h" |
26 #include "net/base/net_errors.h" | 26 #include "net/base/net_errors.h" |
27 #include "net/http/http_response_headers.h" | 27 #include "net/http/http_response_headers.h" |
28 #include "testing/gtest/include/gtest/gtest.h" | 28 #include "testing/gtest/include/gtest/gtest.h" |
29 | 29 |
30 using net::IOBuffer; | 30 using net::IOBuffer; |
31 using net::WrappedIOBuffer; | 31 using net::WrappedIOBuffer; |
32 | 32 |
(...skipping 783 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
816 | 816 |
817 TEST_F(AppCacheResponseTest, DeleteWithinCallbacks) { | 817 TEST_F(AppCacheResponseTest, DeleteWithinCallbacks) { |
818 RunTestOnIOThread(&AppCacheResponseTest::DeleteWithinCallbacks); | 818 RunTestOnIOThread(&AppCacheResponseTest::DeleteWithinCallbacks); |
819 } | 819 } |
820 | 820 |
821 TEST_F(AppCacheResponseTest, DeleteWithIOPending) { | 821 TEST_F(AppCacheResponseTest, DeleteWithIOPending) { |
822 RunTestOnIOThread(&AppCacheResponseTest::DeleteWithIOPending); | 822 RunTestOnIOThread(&AppCacheResponseTest::DeleteWithIOPending); |
823 } | 823 } |
824 | 824 |
825 } // namespace content | 825 } // namespace content |
OLD | NEW |