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_export.h" | 19 #include "webkit/appcache/appcache_export.h" |
19 #include "webkit/appcache/appcache_storage.h" | 20 #include "webkit/appcache/appcache_storage.h" |
20 | 21 |
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
164 // any tasks on the background database thread. | 165 // any tasks on the background database thread. |
165 std::deque<Task*> pending_simple_tasks_; | 166 std::deque<Task*> pending_simple_tasks_; |
166 ScopedRunnableMethodFactory<AppCacheStorageImpl> method_factory_; | 167 ScopedRunnableMethodFactory<AppCacheStorageImpl> method_factory_; |
167 | 168 |
168 friend class ChromeAppCacheServiceTest; | 169 friend class ChromeAppCacheServiceTest; |
169 }; | 170 }; |
170 | 171 |
171 } // namespace appcache | 172 } // namespace appcache |
172 | 173 |
173 #endif // WEBKIT_APPCACHE_APPCACHE_STORAGE_IMPL_H_ | 174 #endif // WEBKIT_APPCACHE_APPCACHE_STORAGE_IMPL_H_ |
OLD | NEW |