OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_BROWSER_APPCACHE_APPCACHE_STORAGE_IMPL_H_ | 5 #ifndef WEBKIT_BROWSER_APPCACHE_APPCACHE_STORAGE_IMPL_H_ |
6 #define WEBKIT_BROWSER_APPCACHE_APPCACHE_STORAGE_IMPL_H_ | 6 #define WEBKIT_BROWSER_APPCACHE_APPCACHE_STORAGE_IMPL_H_ |
7 | 7 |
8 #include <deque> | 8 #include <deque> |
9 #include <map> | 9 #include <map> |
10 #include <set> | 10 #include <set> |
11 #include <utility> | 11 #include <utility> |
12 #include <vector> | 12 #include <vector> |
13 | 13 |
14 #include "base/callback.h" | 14 #include "base/callback.h" |
15 #include "base/files/file_path.h" | 15 #include "base/files/file_path.h" |
16 #include "base/memory/weak_ptr.h" | 16 #include "base/memory/weak_ptr.h" |
17 #include "base/message_loop_proxy.h" | 17 #include "base/message_loop/message_loop_proxy.h" |
18 #include "webkit/browser/appcache/appcache_database.h" | 18 #include "webkit/browser/appcache/appcache_database.h" |
19 #include "webkit/browser/appcache/appcache_disk_cache.h" | 19 #include "webkit/browser/appcache/appcache_disk_cache.h" |
20 #include "webkit/browser/appcache/appcache_storage.h" | 20 #include "webkit/browser/appcache/appcache_storage.h" |
21 #include "webkit/storage/webkit_storage_export.h" | 21 #include "webkit/storage/webkit_storage_export.h" |
22 | 22 |
23 namespace content { | 23 namespace content { |
24 class ChromeAppCacheServiceTest; | 24 class ChromeAppCacheServiceTest; |
25 } | 25 } |
26 | 26 |
27 namespace appcache { | 27 namespace appcache { |
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
170 // any tasks on the background database thread. | 170 // any tasks on the background database thread. |
171 std::deque<base::Closure> pending_simple_tasks_; | 171 std::deque<base::Closure> pending_simple_tasks_; |
172 base::WeakPtrFactory<AppCacheStorageImpl> weak_factory_; | 172 base::WeakPtrFactory<AppCacheStorageImpl> weak_factory_; |
173 | 173 |
174 friend class content::ChromeAppCacheServiceTest; | 174 friend class content::ChromeAppCacheServiceTest; |
175 }; | 175 }; |
176 | 176 |
177 } // namespace appcache | 177 } // namespace appcache |
178 | 178 |
179 #endif // WEBKIT_BROWSER_APPCACHE_APPCACHE_STORAGE_IMPL_H_ | 179 #endif // WEBKIT_BROWSER_APPCACHE_APPCACHE_STORAGE_IMPL_H_ |
OLD | NEW |