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

Unified Diff: webkit/dom_storage/dom_storage_context.h

Issue 9718029: DomStorage commit task sequencing. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 9 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/dom_storage/dom_storage_area_unittest.cc ('k') | webkit/dom_storage/dom_storage_context.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/dom_storage/dom_storage_context.h
===================================================================
--- webkit/dom_storage/dom_storage_context.h (revision 127736)
+++ webkit/dom_storage/dom_storage_context.h (working copy)
@@ -110,7 +110,11 @@
save_session_state_ = true;
}
- // Called when the BrowserContext/Profile is going away.
+ // Called when the owning BrowserContext is ending.
+ // Schedules the commit of any unsaved changes and will delete
+ // and keep data on disk per the content settings and special storage
+ // policies. Contained areas and namespaces will stop functioning after
+ // this method has been called.
void Shutdown();
// Methods to add, remove, and notify EventObservers.
@@ -164,6 +168,7 @@
// At a tab per second, this range is large enough for 68 years.
base::AtomicSequenceNumber session_id_sequence_;
+ bool is_shutdown_;
bool clear_local_state_;
bool save_session_state_;
scoped_refptr<quota::SpecialStoragePolicy> special_storage_policy_;
« no previous file with comments | « webkit/dom_storage/dom_storage_area_unittest.cc ('k') | webkit/dom_storage/dom_storage_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698