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

Unified Diff: webkit/appcache/appcache_disk_cache.cc

Issue 10829258: Clean-up inline members of nested classes (webkit/) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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
« no previous file with comments | « webkit/appcache/appcache_disk_cache.h ('k') | webkit/fileapi/file_system_file_util.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/appcache/appcache_disk_cache.cc
diff --git a/webkit/appcache/appcache_disk_cache.cc b/webkit/appcache/appcache_disk_cache.cc
index 79ab58b4682729510c1dd58e5841f64d50317656..88bea87fa0c31eecd8e2a6a7b0e686715f028083 100644
--- a/webkit/appcache/appcache_disk_cache.cc
+++ b/webkit/appcache/appcache_disk_cache.cc
@@ -243,6 +243,22 @@ int AppCacheDiskCache::DoomEntry(int64 key,
return (new ActiveCall(this))->DoomEntry(key, callback);
}
+AppCacheDiskCache::PendingCall::PendingCall()
+ : call_type(CREATE),
+ key(0),
+ entry(NULL) {
+}
+
+AppCacheDiskCache::PendingCall::PendingCall(PendingCallType call_type,
+ int64 key,
+ Entry** entry,
+ const net::CompletionCallback& callback)
+ : call_type(call_type),
+ key(key),
+ entry(entry),
+ callback(callback) {
+}
+
AppCacheDiskCache::PendingCall::~PendingCall() {}
int AppCacheDiskCache::Init(net::CacheType cache_type,
@@ -304,4 +320,3 @@ void AppCacheDiskCache::OnCreateBackendComplete(int rv) {
}
} // namespace appcache
-
« no previous file with comments | « webkit/appcache/appcache_disk_cache.h ('k') | webkit/fileapi/file_system_file_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698