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_APPCACHE_APPCACHE_STORAGE_IMPL_H_ | 5 #ifndef WEBKIT_APPCACHE_APPCACHE_STORAGE_IMPL_H_ |
6 #define WEBKIT_APPCACHE_APPCACHE_STORAGE_IMPL_H_ | 6 #define WEBKIT_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 <vector> | 12 #include <vector> |
12 | 13 |
13 #include "base/file_path.h" | 14 #include "base/file_path.h" |
14 #include "base/message_loop_proxy.h" | 15 #include "base/message_loop_proxy.h" |
15 #include "base/task.h" | 16 #include "base/task.h" |
16 #include "webkit/appcache/appcache_database.h" | 17 #include "webkit/appcache/appcache_database.h" |
17 #include "webkit/appcache/appcache_disk_cache.h" | 18 #include "webkit/appcache/appcache_disk_cache.h" |
18 #include "webkit/appcache/appcache_storage.h" | 19 #include "webkit/appcache/appcache_storage.h" |
19 | 20 |
20 namespace appcache { | 21 namespace appcache { |
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
163 // any tasks on the background database thread. | 164 // any tasks on the background database thread. |
164 std::deque<Task*> pending_simple_tasks_; | 165 std::deque<Task*> pending_simple_tasks_; |
165 ScopedRunnableMethodFactory<AppCacheStorageImpl> method_factory_; | 166 ScopedRunnableMethodFactory<AppCacheStorageImpl> method_factory_; |
166 | 167 |
167 friend class ChromeAppCacheServiceTest; | 168 friend class ChromeAppCacheServiceTest; |
168 }; | 169 }; |
169 | 170 |
170 } // namespace appcache | 171 } // namespace appcache |
171 | 172 |
172 #endif // WEBKIT_APPCACHE_APPCACHE_STORAGE_IMPL_H_ | 173 #endif // WEBKIT_APPCACHE_APPCACHE_STORAGE_IMPL_H_ |
OLD | NEW |