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

Unified Diff: content/browser/storage_partition_impl.h

Issue 2788813002: Try to flush DOMStorage too when ending the browsing session.
Patch Set: fixes Created 3 years, 8 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/storage_partition_impl.h
diff --git a/content/browser/storage_partition_impl.h b/content/browser/storage_partition_impl.h
index 5b706ff98b5425e0994359f5b54272ce0898694c..5c1dff4c86cf2f6f657515d3ed69c72f8572c83b 100644
--- a/content/browser/storage_partition_impl.h
+++ b/content/browser/storage_partition_impl.h
@@ -117,7 +117,7 @@ class CONTENT_EXPORT StoragePartitionImpl
const base::Callback<bool(const GURL&)>& url_matcher,
const base::Closure& callback) override;
- void Flush() override;
+ std::vector<scoped_refptr<base::SequencedTaskRunner>> Flush() override;
// Can return nullptr while |this| is being destroyed.
BrowserContext* browser_context() const;

Powered by Google App Engine
This is Rietveld 408576698