OLD | NEW |
1 // Copyright (c) 2009 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> |
| 6 #include <string> |
| 7 #include <utility> |
| 8 |
5 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
6 #include "base/pickle.h" | 10 #include "base/pickle.h" |
7 #include "base/thread.h" | 11 #include "base/thread.h" |
8 #include "base/waitable_event.h" | 12 #include "base/waitable_event.h" |
9 #include "net/base/io_buffer.h" | 13 #include "net/base/io_buffer.h" |
10 #include "net/base/net_errors.h" | 14 #include "net/base/net_errors.h" |
11 #include "testing/gtest/include/gtest/gtest.h" | 15 #include "testing/gtest/include/gtest/gtest.h" |
12 #include "webkit/appcache/appcache_response.h" | 16 #include "webkit/appcache/appcache_response.h" |
13 #include "webkit/appcache/mock_appcache_service.h" | 17 #include "webkit/appcache/mock_appcache_service.h" |
14 | 18 |
(...skipping 695 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
710 | 714 |
711 TEST_F(AppCacheResponseTest, DeleteWithIOPending) { | 715 TEST_F(AppCacheResponseTest, DeleteWithIOPending) { |
712 RunTestOnIOThread(&AppCacheResponseTest::DeleteWithIOPending); | 716 RunTestOnIOThread(&AppCacheResponseTest::DeleteWithIOPending); |
713 } | 717 } |
714 | 718 |
715 } // namespace appcache | 719 } // namespace appcache |
716 | 720 |
717 // AppCacheResponseTest is expected to always live longer than the | 721 // AppCacheResponseTest is expected to always live longer than the |
718 // runnable methods. This lets us call NewRunnableMethod on its instances. | 722 // runnable methods. This lets us call NewRunnableMethod on its instances. |
719 DISABLE_RUNNABLE_METHOD_REFCOUNT(appcache::AppCacheResponseTest); | 723 DISABLE_RUNNABLE_METHOD_REFCOUNT(appcache::AppCacheResponseTest); |
OLD | NEW |