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

Unified Diff: content/browser/storage_partition_impl.h

Issue 2159133002: Shutdown StoragePartition before ProfileIOData is being shut down (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 4 years, 5 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 49b8d14b2d6f4d127077d679841855bfb1b68f61..9a8ff9ba2a1797e32ae96d0c961ee31ea5550b94 100644
--- a/content/browser/storage_partition_impl.h
+++ b/content/browser/storage_partition_impl.h
@@ -34,6 +34,9 @@ class CONTENT_EXPORT StoragePartitionImpl
: public StoragePartition,
public NON_EXPORTED_BASE(mojom::StoragePartitionService) {
public:
+ // It is guaranteed that storage partitions are destructed before the
+ // browser context starts shutting down its corresponding IO thread residents
+ // (e.g. resource context).
~StoragePartitionImpl() override;
// Quota managed data uses a different bitmask for types than

Powered by Google App Engine
This is Rietveld 408576698