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

Unified Diff: webkit/dom_storage/dom_storage_area.h

Issue 10389061: DomStorageArea: Allow multiple simultaneous in flight commit batches. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Comment Created 8 years, 7 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 | « no previous file | webkit/dom_storage/dom_storage_area.cc » ('j') | webkit/dom_storage/dom_storage_area.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/dom_storage/dom_storage_area.h
diff --git a/webkit/dom_storage/dom_storage_area.h b/webkit/dom_storage/dom_storage_area.h
index b08ff1ef5a209243f6855c84aeb2d321bf6aa3f3..d6c334505ecf3c8ad6b8ef7a34f1f031118d5dbc 100644
--- a/webkit/dom_storage/dom_storage_area.h
+++ b/webkit/dom_storage/dom_storage_area.h
@@ -98,7 +98,7 @@ class DomStorageArea
// task sequence when complete.
CommitBatch* CreateCommitBatchIfNeeded();
void OnCommitTimer();
- void CommitChanges();
+ void CommitChanges(const CommitBatch& commit_batch);
void OnCommitComplete();
void ShutdownInCommitSequence();
@@ -112,7 +112,7 @@ class DomStorageArea
bool is_initial_import_done_;
bool is_shutdown_;
scoped_ptr<CommitBatch> commit_batch_;
- scoped_ptr<CommitBatch> in_flight_commit_batch_;
+ int commit_batches_in_flight_;
};
} // namespace dom_storage
« no previous file with comments | « no previous file | webkit/dom_storage/dom_storage_area.cc » ('j') | webkit/dom_storage/dom_storage_area.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698