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

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

Issue 8086017: add more appcache_exports needed for test_shell_tests (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix weird merge issues Created 9 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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 13
13 namespace appcache { 14 namespace appcache {
14 15
15 class AppCache; 16 class AppCache;
16 class AppCacheGroup; 17 class AppCacheGroup;
17 class AppCacheResponseInfo; 18 class AppCacheResponseInfo;
18 19
19 // Represents the working set of appcache object instances 20 // Represents the working set of appcache object instances
20 // currently in memory. 21 // currently in memory.
21 class AppCacheWorkingSet { 22 class APPCACHE_EXPORT AppCacheWorkingSet {
22 public: 23 public:
23 typedef std::map<GURL, AppCacheGroup*> GroupMap; 24 typedef std::map<GURL, AppCacheGroup*> GroupMap;
24 25
25 AppCacheWorkingSet(); 26 AppCacheWorkingSet();
26 ~AppCacheWorkingSet(); 27 ~AppCacheWorkingSet();
27 28
28 void Disable(); 29 void Disable();
29 bool is_disabled() const { return is_disabled_; } 30 bool is_disabled() const { return is_disabled_; }
30 31
31 void AddCache(AppCache* cache); 32 void AddCache(AppCache* cache);
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 CacheMap caches_; 67 CacheMap caches_;
67 GroupMap groups_; 68 GroupMap groups_;
68 GroupsByOriginMap groups_by_origin_; // origin -> (manifest -> group) 69 GroupsByOriginMap groups_by_origin_; // origin -> (manifest -> group)
69 ResponseInfoMap response_infos_; 70 ResponseInfoMap response_infos_;
70 bool is_disabled_; 71 bool is_disabled_;
71 }; 72 };
72 73
73 } // namespace appcache 74 } // namespace appcache
74 75
75 #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