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 #ifndef WEBKIT_TOOLS_TEST_SHELL_SIMPLE_APPCACHE_SYSTEM_H_ | 5 #ifndef WEBKIT_TOOLS_TEST_SHELL_SIMPLE_APPCACHE_SYSTEM_H_ |
6 #define WEBKIT_TOOLS_TEST_SHELL_SIMPLE_APPCACHE_SYSTEM_H_ | 6 #define WEBKIT_TOOLS_TEST_SHELL_SIMPLE_APPCACHE_SYSTEM_H_ |
7 | 7 |
8 #include "base/file_path.h" | 8 #include "base/file_path.h" |
9 #include "base/message_loop.h" | 9 #include "base/message_loop.h" |
10 #include "base/thread.h" | 10 #include "base/threading/thread.h" |
11 #include "webkit/appcache/appcache_backend_impl.h" | 11 #include "webkit/appcache/appcache_backend_impl.h" |
12 #include "webkit/appcache/appcache_frontend_impl.h" | 12 #include "webkit/appcache/appcache_frontend_impl.h" |
13 #include "webkit/appcache/appcache_service.h" | 13 #include "webkit/appcache/appcache_service.h" |
14 #include "webkit/appcache/appcache_thread.h" | 14 #include "webkit/appcache/appcache_thread.h" |
15 #include "webkit/glue/resource_type.h" | 15 #include "webkit/glue/resource_type.h" |
16 | 16 |
17 namespace WebKit { | 17 namespace WebKit { |
18 class WebApplicationCacheHost; | 18 class WebApplicationCacheHost; |
19 class WebApplicationCacheHostClient; | 19 class WebApplicationCacheHostClient; |
20 } | 20 } |
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
166 base::Thread db_thread_; | 166 base::Thread db_thread_; |
167 | 167 |
168 // Some unittests create there own IO and DB threads. | 168 // Some unittests create there own IO and DB threads. |
169 ThreadProvider* thread_provider_; | 169 ThreadProvider* thread_provider_; |
170 | 170 |
171 // A low-tech singleton. | 171 // A low-tech singleton. |
172 static SimpleAppCacheSystem* instance_; | 172 static SimpleAppCacheSystem* instance_; |
173 }; | 173 }; |
174 | 174 |
175 #endif // WEBKIT_TOOLS_TEST_SHELL_SIMPLE_APPCACHE_SYSTEM_H_ | 175 #endif // WEBKIT_TOOLS_TEST_SHELL_SIMPLE_APPCACHE_SYSTEM_H_ |
OLD | NEW |