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

Side by Side Diff: content/browser/appcache/appcache_storage_impl.h

Issue 358993007: Fix nits in content/browser/appcache/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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 CONTENT_BROWSER_APPCACHE_APPCACHE_STORAGE_IMPL_H_ 5 #ifndef CONTENT_BROWSER_APPCACHE_APPCACHE_STORAGE_IMPL_H_
6 #define CONTENT_BROWSER_APPCACHE_APPCACHE_STORAGE_IMPL_H_ 6 #define CONTENT_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/message_loop_proxy.h" 17 #include "base/message_loop/message_loop_proxy.h"
18 #include "content/browser/appcache/appcache_database.h" 18 #include "content/browser/appcache/appcache_database.h"
19 #include "content/browser/appcache/appcache_disk_cache.h" 19 #include "content/browser/appcache/appcache_disk_cache.h"
20 #include "content/browser/appcache/appcache_storage.h" 20 #include "content/browser/appcache/appcache_storage.h"
21 #include "content/common/content_export.h" 21 #include "content/common/content_export.h"
22 22
23 namespace content { 23 namespace content {
24 class AppCacheStorageImplTest; 24 class AppCacheStorageImplTest;
25 class ChromeAppCacheServiceTest; 25 class ChromeAppCacheServiceTest;
26 }
27
28 namespace content {
29 26
30 class AppCacheStorageImpl : public AppCacheStorage { 27 class AppCacheStorageImpl : public AppCacheStorage {
31 public: 28 public:
32 explicit AppCacheStorageImpl(AppCacheServiceImpl* service); 29 explicit AppCacheStorageImpl(AppCacheServiceImpl* service);
33 virtual ~AppCacheStorageImpl(); 30 virtual ~AppCacheStorageImpl();
34 31
35 void Initialize(const base::FilePath& cache_directory, 32 void Initialize(const base::FilePath& cache_directory,
36 base::MessageLoopProxy* db_thread, 33 base::MessageLoopProxy* db_thread,
37 base::MessageLoopProxy* cache_thread); 34 base::MessageLoopProxy* cache_thread);
38 void Disable(); 35 void Disable();
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 std::deque<base::Closure> pending_simple_tasks_; 169 std::deque<base::Closure> pending_simple_tasks_;
173 base::WeakPtrFactory<AppCacheStorageImpl> weak_factory_; 170 base::WeakPtrFactory<AppCacheStorageImpl> weak_factory_;
174 171
175 friend class content::AppCacheStorageImplTest; 172 friend class content::AppCacheStorageImplTest;
176 friend class content::ChromeAppCacheServiceTest; 173 friend class content::ChromeAppCacheServiceTest;
177 }; 174 };
178 175
179 } // namespace content 176 } // namespace content
180 177
181 #endif // CONTENT_BROWSER_APPCACHE_APPCACHE_STORAGE_IMPL_H_ 178 #endif // CONTENT_BROWSER_APPCACHE_APPCACHE_STORAGE_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/appcache/appcache_storage.h ('k') | content/browser/appcache/appcache_update_job.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698