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

Unified Diff: content/browser/dom_storage/dom_storage_context_wrapper.cc

Issue 2788813002: Try to flush DOMStorage too when ending the browsing session.
Patch Set: compile (doh!) Created 3 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
Index: content/browser/dom_storage/dom_storage_context_wrapper.cc
diff --git a/content/browser/dom_storage/dom_storage_context_wrapper.cc b/content/browser/dom_storage/dom_storage_context_wrapper.cc
index be4ffb4c0b619f129745bb2b14a1d742ccb5f950..5b4ca965e260eaf315e209b97ad4219b18499d21 100644
--- a/content/browser/dom_storage/dom_storage_context_wrapper.cc
+++ b/content/browser/dom_storage/dom_storage_context_wrapper.cc
@@ -257,6 +257,12 @@ void DOMStorageContextWrapper::Flush() {
mojo_state_->Flush();
}
+scoped_refptr<base::SequencedTaskRunner>
+DOMStorageContextWrapper::GetSequencedTaskRunner(
+ DOMStorageTaskRunner::SequenceID id) {
+ return context_->task_runner()->GetSequencedTaskRunner(id);
+}
+
void DOMStorageContextWrapper::OpenLocalStorage(
const url::Origin& origin,
mojom::LevelDBWrapperRequest request) {

Powered by Google App Engine
This is Rietveld 408576698