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

Unified Diff: webkit/appcache/appcache_interfaces.cc

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.cc
diff --git a/webkit/appcache/appcache_interfaces.cc b/webkit/appcache/appcache_interfaces.cc
index a818bb9cb73d023aa2e00733a196ceed139e0885..4ed0f093db28a1115b6b3b1467c8e7382170b213 100644
--- a/webkit/appcache/appcache_interfaces.cc
+++ b/webkit/appcache/appcache_interfaces.cc
@@ -23,6 +23,29 @@ const char kHttpHEADMethod[] = "HEAD";
const FilePath::CharType kAppCacheDatabaseName[] = FILE_PATH_LITERAL("Index");
+AppCacheInfo::AppCacheInfo()
+ : cache_id(kNoCacheId),
+ status(UNCACHED),
+ size(0),
+ is_complete(false) {
+}
+
+AppCacheInfo::~AppCacheInfo() {
+}
+
+AppCacheResourceInfo::AppCacheResourceInfo()
+ : url(),
+ size(0),
+ is_master(0),
+ is_manifest(0),
+ is_fallback(0),
+ is_foreign(0),
+ is_explicit(0) {
+}
+
+AppCacheResourceInfo::~AppCacheResourceInfo() {
+}
+
bool IsSchemeSupported(const GURL& url) {
bool supported = url.SchemeIs(kHttpScheme) || url.SchemeIs(kHttpsScheme);
#ifndef NDEBUG
@@ -85,4 +108,4 @@ COMPILE_ASSERT((int)WebConsoleMessage::LevelWarning ==
COMPILE_ASSERT((int)WebConsoleMessage::LevelError ==
(int)LOG_ERROR, LevelError);
-} // namespace
+} // namespace appcache

Powered by Google App Engine
This is Rietveld 408576698