Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(438)

Side by Side Diff: webkit/appcache/appcache_storage_impl.h

Issue 9114020: Remove task.h and finish base::Bind() migration. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix typo Created 8 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 <utility>
12 #include <vector> 12 #include <vector>
13 13
14 #include "base/callback.h" 14 #include "base/callback.h"
15 #include "base/file_path.h" 15 #include "base/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_proxy.h"
18 #include "base/task.h"
19 #include "webkit/appcache/appcache_database.h" 18 #include "webkit/appcache/appcache_database.h"
20 #include "webkit/appcache/appcache_disk_cache.h" 19 #include "webkit/appcache/appcache_disk_cache.h"
21 #include "webkit/appcache/appcache_export.h" 20 #include "webkit/appcache/appcache_export.h"
22 #include "webkit/appcache/appcache_storage.h" 21 #include "webkit/appcache/appcache_storage.h"
23 22
24 namespace appcache { 23 namespace appcache {
25 24
26 class AppCacheStorageImpl : public AppCacheStorage { 25 class AppCacheStorageImpl : public AppCacheStorage {
27 public: 26 public:
28 explicit AppCacheStorageImpl(AppCacheService* service); 27 explicit AppCacheStorageImpl(AppCacheService* service);
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 // any tasks on the background database thread. 166 // any tasks on the background database thread.
168 std::deque<base::Closure> pending_simple_tasks_; 167 std::deque<base::Closure> pending_simple_tasks_;
169 base::WeakPtrFactory<AppCacheStorageImpl> weak_factory_; 168 base::WeakPtrFactory<AppCacheStorageImpl> weak_factory_;
170 169
171 friend class ChromeAppCacheServiceTest; 170 friend class ChromeAppCacheServiceTest;
172 }; 171 };
173 172
174 } // namespace appcache 173 } // namespace appcache
175 174
176 #endif // WEBKIT_APPCACHE_APPCACHE_STORAGE_IMPL_H_ 175 #endif // WEBKIT_APPCACHE_APPCACHE_STORAGE_IMPL_H_
OLDNEW
« no previous file with comments | « webkit/appcache/appcache_request_handler_unittest.cc ('k') | webkit/appcache/appcache_update_job.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698