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

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

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.h
diff --git a/content/browser/dom_storage/dom_storage_context_wrapper.h b/content/browser/dom_storage/dom_storage_context_wrapper.h
index 2c37e330b91a164044bea0da9f7dd3282880a5bd..49058ef3e6f688c30babac392f718ba6a7d20b12 100644
--- a/content/browser/dom_storage/dom_storage_context_wrapper.h
+++ b/content/browser/dom_storage/dom_storage_context_wrapper.h
@@ -13,6 +13,7 @@
#include "base/memory/memory_pressure_listener.h"
#include "base/memory/ref_counted.h"
#include "content/browser/dom_storage/dom_storage_context_impl.h"
+#include "content/browser/dom_storage/dom_storage_task_runner.h"
#include "content/common/content_export.h"
#include "content/common/storage_partition_service.mojom.h"
#include "content/public/browser/dom_storage_context.h"
@@ -72,6 +73,8 @@ class CONTENT_EXPORT DOMStorageContextWrapper :
void Shutdown();
void Flush();
+ scoped_refptr<base::SequencedTaskRunner> GetSequencedTaskRunner(
+ DOMStorageTaskRunner::SequenceID id);
// See mojom::StoragePartitionService interface.
void OpenLocalStorage(const url::Origin& origin,

Powered by Google App Engine
This is Rietveld 408576698