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

Unified Diff: webkit/appcache/appcache_interfaces.h

Issue 3522004: FBTF: Move ctors/dtors into implementation files. Adds ctors/dtors to non-POD structs. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Created 10 years, 3 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_interfaces.h
diff --git a/webkit/appcache/appcache_interfaces.h b/webkit/appcache/appcache_interfaces.h
index 1dfd326c7a11941079d47b8185d7b21aa031e467..973f7955f89041e9179bbbaa70677f209a94d1d1 100644
--- a/webkit/appcache/appcache_interfaces.h
+++ b/webkit/appcache/appcache_interfaces.h
@@ -53,6 +53,9 @@ enum LogLevel {
};
struct AppCacheInfo {
+ AppCacheInfo();
+ ~AppCacheInfo();
+
GURL manifest_url;
base::Time creation_time;
base::Time last_update_time;
@@ -61,14 +64,15 @@ struct AppCacheInfo {
Status status;
int64 size;
bool is_complete;
- AppCacheInfo() : cache_id(kNoCacheId), status(UNCACHED),
- size(0), is_complete(false) { }
};
typedef std::vector<AppCacheInfo> AppCacheInfoVector;
-// POD type to hold information about a single appcache resource.
+// Type to hold information about a single appcache resource.
struct AppCacheResourceInfo {
+ AppCacheResourceInfo();
+ ~AppCacheResourceInfo();
+
GURL url;
int64 size;
bool is_master;

Powered by Google App Engine
This is Rietveld 408576698