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

Side by Side Diff: content/browser/appcache/appcache_storage.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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_H_ 5 #ifndef CONTENT_BROWSER_APPCACHE_APPCACHE_STORAGE_H_
6 #define CONTENT_BROWSER_APPCACHE_APPCACHE_STORAGE_H_ 6 #define CONTENT_BROWSER_APPCACHE_APPCACHE_STORAGE_H_
7 7
8 #include <map> 8 #include <map>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/basictypes.h" 11 #include "base/basictypes.h"
12 #include "base/compiler_specific.h" 12 #include "base/compiler_specific.h"
13 #include "base/gtest_prod_util.h" 13 #include "base/gtest_prod_util.h"
14 #include "base/memory/ref_counted.h" 14 #include "base/memory/ref_counted.h"
15 #include "base/memory/scoped_ptr.h" 15 #include "base/memory/scoped_ptr.h"
16 #include "content/browser/appcache/appcache_working_set.h" 16 #include "content/browser/appcache/appcache_working_set.h"
17 #include "content/common/content_export.h" 17 #include "content/common/content_export.h"
18 #include "net/base/completion_callback.h" 18 #include "net/base/completion_callback.h"
19 19
20 class GURL; 20 class GURL;
21 21
22 namespace content { 22 namespace content {
23 FORWARD_DECLARE_TEST(AppCacheStorageTest, DelegateReferences); 23 FORWARD_DECLARE_TEST(AppCacheStorageTest, DelegateReferences);
24 FORWARD_DECLARE_TEST(AppCacheStorageTest, UsageMap); 24 FORWARD_DECLARE_TEST(AppCacheStorageTest, UsageMap);
25 class AppCacheQuotaClientTest;
26 class AppCacheResponseTest;
27 class AppCacheStorageTest;
28 }
29
30 namespace content {
31
32 class AppCache; 25 class AppCache;
33 class AppCacheEntry; 26 class AppCacheEntry;
34 class AppCacheGroup; 27 class AppCacheGroup;
28 class AppCacheQuotaClientTest;
35 class AppCacheResponseReader; 29 class AppCacheResponseReader;
30 class AppCacheResponseTest;
36 class AppCacheResponseWriter; 31 class AppCacheResponseWriter;
37 class AppCacheServiceImpl; 32 class AppCacheServiceImpl;
33 class AppCacheStorageTest;
38 struct AppCacheInfoCollection; 34 struct AppCacheInfoCollection;
39 struct HttpResponseInfoIOBuffer; 35 struct HttpResponseInfoIOBuffer;
40 36
41 class CONTENT_EXPORT AppCacheStorage { 37 class CONTENT_EXPORT AppCacheStorage {
42 public: 38 public:
43 typedef std::map<GURL, int64> UsageMap; 39 typedef std::map<GURL, int64> UsageMap;
44 40
45 class CONTENT_EXPORT Delegate { 41 class CONTENT_EXPORT Delegate {
46 public: 42 public:
47 // If retrieval fails, 'collection' will be NULL. 43 // If retrieval fails, 'collection' will be NULL.
(...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after
321 317
322 FRIEND_TEST_ALL_PREFIXES(content::AppCacheStorageTest, DelegateReferences); 318 FRIEND_TEST_ALL_PREFIXES(content::AppCacheStorageTest, DelegateReferences);
323 FRIEND_TEST_ALL_PREFIXES(content::AppCacheStorageTest, UsageMap); 319 FRIEND_TEST_ALL_PREFIXES(content::AppCacheStorageTest, UsageMap);
324 320
325 DISALLOW_COPY_AND_ASSIGN(AppCacheStorage); 321 DISALLOW_COPY_AND_ASSIGN(AppCacheStorage);
326 }; 322 };
327 323
328 } // namespace content 324 } // namespace content
329 325
330 #endif // CONTENT_BROWSER_APPCACHE_APPCACHE_STORAGE_H_ 326 #endif // CONTENT_BROWSER_APPCACHE_APPCACHE_STORAGE_H_
OLDNEW
« no previous file with comments | « content/browser/appcache/appcache_service_impl.h ('k') | content/browser/appcache/appcache_storage_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698