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

Side by Side Diff: content/browser/appcache/appcache_service_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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_SERVICE_IMPL_H_ 5 #ifndef CONTENT_BROWSER_APPCACHE_APPCACHE_SERVICE_IMPL_H_
6 #define CONTENT_BROWSER_APPCACHE_APPCACHE_SERVICE_IMPL_H_ 6 #define CONTENT_BROWSER_APPCACHE_APPCACHE_SERVICE_IMPL_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 10
(...skipping 12 matching lines...) Expand all
23 23
24 namespace net { 24 namespace net {
25 class URLRequestContext; 25 class URLRequestContext;
26 } // namespace net 26 } // namespace net
27 27
28 namespace base { 28 namespace base {
29 class FilePath; 29 class FilePath;
30 class MessageLoopProxy; 30 class MessageLoopProxy;
31 } 31 }
32 32
33 namespace content {
34 FORWARD_DECLARE_TEST(AppCacheServiceImplTest, ScheduleReinitialize);
35 class AppCacheServiceImplTest;
36 class AppCacheStorageImplTest;
37 }
38
39 namespace quota { 33 namespace quota {
40 class SpecialStoragePolicy; 34 class SpecialStoragePolicy;
41 } 35 }
42 36
43 namespace content { 37 namespace content {
44 38 FORWARD_DECLARE_TEST(AppCacheServiceImplTest, ScheduleReinitialize);
45 class AppCacheBackendImpl; 39 class AppCacheBackendImpl;
46 class AppCacheExecutableHandlerFactory; 40 class AppCacheExecutableHandlerFactory;
47 class AppCacheQuotaClient; 41 class AppCacheQuotaClient;
48 class AppCachePolicy; 42 class AppCachePolicy;
43 class AppCacheServiceImplTest;
44 class AppCacheStorageImplTest;
49 class AppCacheStorage; 45 class AppCacheStorage;
50 46
51 // Refcounted container to manage the lifetime of the old storage instance 47 // Refcounted container to manage the lifetime of the old storage instance
52 // during Reinitialization. 48 // during Reinitialization.
53 class CONTENT_EXPORT AppCacheStorageReference 49 class CONTENT_EXPORT AppCacheStorageReference
54 : public base::RefCounted<AppCacheStorageReference> { 50 : public base::RefCounted<AppCacheStorageReference> {
55 public: 51 public:
56 AppCacheStorage* storage() const { return storage_.get(); } 52 AppCacheStorage* storage() const { return storage_.get(); }
57 private: 53 private:
58 friend class AppCacheServiceImpl; 54 friend class AppCacheServiceImpl;
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
218 base::TimeDelta next_reinit_delay_; 214 base::TimeDelta next_reinit_delay_;
219 base::OneShotTimer<AppCacheServiceImpl> reinit_timer_; 215 base::OneShotTimer<AppCacheServiceImpl> reinit_timer_;
220 ObserverList<Observer> observers_; 216 ObserverList<Observer> observers_;
221 217
222 DISALLOW_COPY_AND_ASSIGN(AppCacheServiceImpl); 218 DISALLOW_COPY_AND_ASSIGN(AppCacheServiceImpl);
223 }; 219 };
224 220
225 } // namespace content 221 } // namespace content
226 222
227 #endif // CONTENT_BROWSER_APPCACHE_APPCACHE_SERVICE_IMPL_H_ 223 #endif // CONTENT_BROWSER_APPCACHE_APPCACHE_SERVICE_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/appcache/appcache_response.h ('k') | content/browser/appcache/appcache_storage.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698