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

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

Issue 11230022: webkit: Merge build target 'appcache' to 'webkit_storage' (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: _ Created 8 years, 2 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
« no previous file with comments | « webkit/appcache/appcache_url_request_job.h ('k') | webkit/appcache/manifest_parser.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_WORKING_SET_H_ 5 #ifndef WEBKIT_APPCACHE_APPCACHE_WORKING_SET_H_
6 #define WEBKIT_APPCACHE_APPCACHE_WORKING_SET_H_ 6 #define WEBKIT_APPCACHE_APPCACHE_WORKING_SET_H_
7 7
8 #include <map> 8 #include <map>
9 9
10 #include "base/hash_tables.h" 10 #include "base/hash_tables.h"
11 #include "googleurl/src/gurl.h" 11 #include "googleurl/src/gurl.h"
12 #include "webkit/appcache/appcache_export.h" 12 #include "webkit/storage/webkit_storage_export.h"
13 13
14 namespace appcache { 14 namespace appcache {
15 15
16 class AppCache; 16 class AppCache;
17 class AppCacheGroup; 17 class AppCacheGroup;
18 class AppCacheResponseInfo; 18 class AppCacheResponseInfo;
19 19
20 // Represents the working set of appcache object instances 20 // Represents the working set of appcache object instances
21 // currently in memory. 21 // currently in memory.
22 class APPCACHE_EXPORT AppCacheWorkingSet { 22 class WEBKIT_STORAGE_EXPORT AppCacheWorkingSet {
23 public: 23 public:
24 typedef std::map<GURL, AppCacheGroup*> GroupMap; 24 typedef std::map<GURL, AppCacheGroup*> GroupMap;
25 25
26 AppCacheWorkingSet(); 26 AppCacheWorkingSet();
27 ~AppCacheWorkingSet(); 27 ~AppCacheWorkingSet();
28 28
29 void Disable(); 29 void Disable();
30 bool is_disabled() const { return is_disabled_; } 30 bool is_disabled() const { return is_disabled_; }
31 31
32 void AddCache(AppCache* cache); 32 void AddCache(AppCache* cache);
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 CacheMap caches_; 67 CacheMap caches_;
68 GroupMap groups_; 68 GroupMap groups_;
69 GroupsByOriginMap groups_by_origin_; // origin -> (manifest -> group) 69 GroupsByOriginMap groups_by_origin_; // origin -> (manifest -> group)
70 ResponseInfoMap response_infos_; 70 ResponseInfoMap response_infos_;
71 bool is_disabled_; 71 bool is_disabled_;
72 }; 72 };
73 73
74 } // namespace appcache 74 } // namespace appcache
75 75
76 #endif // WEBKIT_APPCACHE_APPCACHE_WORKING_SET_H_ 76 #endif // WEBKIT_APPCACHE_APPCACHE_WORKING_SET_H_
OLDNEW
« no previous file with comments | « webkit/appcache/appcache_url_request_job.h ('k') | webkit/appcache/manifest_parser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698