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

Unified Diff: webkit/appcache/appcache_storage_impl.cc

Issue 8820009: Appcache, local storage, indexed db, databases: skip exit-time deletion when restarting. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 9 years 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_storage_impl.cc
diff --git a/webkit/appcache/appcache_storage_impl.cc b/webkit/appcache/appcache_storage_impl.cc
index 78231c160762f8c39cc1d48744dc6fe6c10ae5e8..97ae90654d59b64de7b2f0ed32d09b1895bd5898 100644
--- a/webkit/appcache/appcache_storage_impl.cc
+++ b/webkit/appcache/appcache_storage_impl.cc
@@ -1186,7 +1186,7 @@ AppCacheStorageImpl::~AppCacheStorageImpl() {
scheduled_database_tasks_.end(),
std::mem_fun(&DatabaseTask::CancelCompletion));
- if (database_) {
+ if (database_ && !service()->save_session_state()) {
michaeln 2011/12/07 20:49:15 Since CleanUpOnDatabaseThread is also responsible
marja 2011/12/08 08:30:12 Done.
db_thread_->PostTask(
FROM_HERE,
base::Bind(&CleanUpOnDatabaseThread, database_,

Powered by Google App Engine
This is Rietveld 408576698