OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 <stack> | 5 #include <stack> |
6 #include <string> | 6 #include <string> |
7 #include <utility> | 7 #include <utility> |
8 | 8 |
9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
10 #include "base/pickle.h" | 10 #include "base/pickle.h" |
11 #include "base/thread.h" | 11 #include "base/threading/thread.h" |
12 #include "base/waitable_event.h" | 12 #include "base/waitable_event.h" |
13 #include "net/base/io_buffer.h" | 13 #include "net/base/io_buffer.h" |
14 #include "net/base/net_errors.h" | 14 #include "net/base/net_errors.h" |
15 #include "net/http/http_response_headers.h" | 15 #include "net/http/http_response_headers.h" |
16 #include "testing/gtest/include/gtest/gtest.h" | 16 #include "testing/gtest/include/gtest/gtest.h" |
17 #include "webkit/appcache/appcache_response.h" | 17 #include "webkit/appcache/appcache_response.h" |
18 #include "webkit/appcache/mock_appcache_service.h" | 18 #include "webkit/appcache/mock_appcache_service.h" |
19 | 19 |
20 using net::IOBuffer; | 20 using net::IOBuffer; |
21 using net::WrappedIOBuffer; | 21 using net::WrappedIOBuffer; |
(...skipping 693 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
715 | 715 |
716 TEST_F(AppCacheResponseTest, DeleteWithIOPending) { | 716 TEST_F(AppCacheResponseTest, DeleteWithIOPending) { |
717 RunTestOnIOThread(&AppCacheResponseTest::DeleteWithIOPending); | 717 RunTestOnIOThread(&AppCacheResponseTest::DeleteWithIOPending); |
718 } | 718 } |
719 | 719 |
720 } // namespace appcache | 720 } // namespace appcache |
721 | 721 |
722 // AppCacheResponseTest is expected to always live longer than the | 722 // AppCacheResponseTest is expected to always live longer than the |
723 // runnable methods. This lets us call NewRunnableMethod on its instances. | 723 // runnable methods. This lets us call NewRunnableMethod on its instances. |
724 DISABLE_RUNNABLE_METHOD_REFCOUNT(appcache::AppCacheResponseTest); | 724 DISABLE_RUNNABLE_METHOD_REFCOUNT(appcache::AppCacheResponseTest); |
OLD | NEW |