| Index: content/browser/storage_partition_impl_map.h
|
| diff --git a/content/browser/storage_partition_impl_map.h b/content/browser/storage_partition_impl_map.h
|
| index 00b01f1ec1ffba8dfabb148e6e8bfa00d25d28fd..55f1c3030b5552484cd24c920550396eedf23d84 100644
|
| --- a/content/browser/storage_partition_impl_map.h
|
| +++ b/content/browser/storage_partition_impl_map.h
|
| @@ -6,11 +6,13 @@
|
| #define CONTENT_BROWSER_STORAGE_PARTITION_IMPL_MAP_H_
|
|
|
| #include <map>
|
| +#include <memory>
|
| #include <string>
|
|
|
| #include "base/callback_forward.h"
|
| #include "base/containers/hash_tables.h"
|
| #include "base/gtest_prod_util.h"
|
| +#include "base/macros.h"
|
| #include "base/supports_user_data.h"
|
| #include "content/browser/storage_partition_impl.h"
|
| #include "content/public/browser/browser_context.h"
|
| @@ -101,7 +103,7 @@ class CONTENT_EXPORT StoragePartitionImplMap
|
| };
|
|
|
| typedef std::map<StoragePartitionConfig,
|
| - StoragePartitionImpl*,
|
| + std::unique_ptr<StoragePartitionImpl>,
|
| StoragePartitionConfigLess>
|
| PartitionMap;
|
|
|
| @@ -128,6 +130,8 @@ class CONTENT_EXPORT StoragePartitionImplMap
|
| // Set to true when the ResourceContext for the associated |browser_context_|
|
| // is initialized. Can never return to false.
|
| bool resource_context_initialized_;
|
| +
|
| + DISALLOW_COPY_AND_ASSIGN(StoragePartitionImplMap);
|
| };
|
|
|
| } // namespace content
|
|
|