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

Unified Diff: webkit/appcache/appcache_database.h

Issue 6366019: Part 1 of repairing regressions to my old clang check plugins so Nico can (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove Nico's changes that I patched in for testing. Created 9 years, 11 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 side-by-side diff with in-line comments
Download patch
Index: webkit/appcache/appcache_database.h
diff --git a/webkit/appcache/appcache_database.h b/webkit/appcache/appcache_database.h
index 7ecc54c195b14689d2e9a7129b6cfe295088f247..e0fb092264c2d06d1aafb16329eb0b17faf49a2c 100644
--- a/webkit/appcache/appcache_database.h
+++ b/webkit/appcache/appcache_database.h
@@ -31,45 +31,52 @@ namespace appcache {
class AppCacheDatabase {
public:
struct GroupRecord {
+ GroupRecord();
+ ~GroupRecord();
+
int64 group_id;
GURL origin;
GURL manifest_url;
base::Time creation_time;
base::Time last_access_time;
- GroupRecord() : group_id(0) {}
};
struct CacheRecord {
+ CacheRecord()
+ : cache_id(0), group_id(0), online_wildcard(false), cache_size(0) {}
+
int64 cache_id;
int64 group_id;
bool online_wildcard;
base::Time update_time;
int64 cache_size; // the sum of all response sizes in this cache
- CacheRecord()
- : cache_id(0), group_id(0), online_wildcard(false), cache_size(0) {}
};
struct EntryRecord {
+ EntryRecord() : cache_id(0), flags(0), response_id(0), response_size(0) {}
+
int64 cache_id;
GURL url;
int flags;
int64 response_id;
int64 response_size;
- EntryRecord() : cache_id(0), flags(0), response_id(0), response_size(0) {}
};
struct FallbackNameSpaceRecord {
+ FallbackNameSpaceRecord();
+ ~FallbackNameSpaceRecord();
+
int64 cache_id;
GURL origin; // intentionally not normalized
GURL namespace_url;
GURL fallback_entry_url;
- FallbackNameSpaceRecord() : cache_id(0) {}
};
struct OnlineWhiteListRecord {
+ OnlineWhiteListRecord() : cache_id(0) {}
+
int64 cache_id;
GURL namespace_url;
- OnlineWhiteListRecord() : cache_id(0) {}
};
explicit AppCacheDatabase(const FilePath& path);

Powered by Google App Engine
This is Rietveld 408576698