| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CONTENT_BROWSER_STORAGE_PARTITION_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_STORAGE_PARTITION_IMPL_H_ |
| 6 #define CONTENT_BROWSER_STORAGE_PARTITION_IMPL_H_ | 6 #define CONTENT_BROWSER_STORAGE_PARTITION_IMPL_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| (...skipping 17 matching lines...) Expand all Loading... |
| 28 #include "content/browser/payments/payment_app_context_impl.h" | 28 #include "content/browser/payments/payment_app_context_impl.h" |
| 29 #include "content/browser/push_messaging/push_messaging_context.h" | 29 #include "content/browser/push_messaging/push_messaging_context.h" |
| 30 #include "content/browser/service_worker/service_worker_context_wrapper.h" | 30 #include "content/browser/service_worker/service_worker_context_wrapper.h" |
| 31 #include "content/browser/url_loader_factory_getter.h" | 31 #include "content/browser/url_loader_factory_getter.h" |
| 32 #include "content/common/content_export.h" | 32 #include "content/common/content_export.h" |
| 33 #include "content/common/network_service.mojom.h" | 33 #include "content/common/network_service.mojom.h" |
| 34 #include "content/common/storage_partition_service.mojom.h" | 34 #include "content/common/storage_partition_service.mojom.h" |
| 35 #include "content/public/browser/storage_partition.h" | 35 #include "content/public/browser/storage_partition.h" |
| 36 #include "mojo/public/cpp/bindings/binding_set.h" | 36 #include "mojo/public/cpp/bindings/binding_set.h" |
| 37 #include "net/cookies/cookie_store.h" | 37 #include "net/cookies/cookie_store.h" |
| 38 #include "storage/browser/blob/blob_registry_impl.h" |
| 38 #include "storage/browser/quota/special_storage_policy.h" | 39 #include "storage/browser/quota/special_storage_policy.h" |
| 39 | 40 |
| 40 namespace content { | 41 namespace content { |
| 41 | 42 |
| 42 class CONTENT_EXPORT StoragePartitionImpl | 43 class CONTENT_EXPORT StoragePartitionImpl |
| 43 : public StoragePartition, | 44 : public StoragePartition, |
| 44 public NON_EXPORTED_BASE(mojom::StoragePartitionService) { | 45 public NON_EXPORTED_BASE(mojom::StoragePartitionService) { |
| 45 public: | 46 public: |
| 46 // It is guaranteed that storage partitions are destructed before the | 47 // It is guaranteed that storage partitions are destructed before the |
| 47 // browser context starts shutting down its corresponding IO thread residents | 48 // browser context starts shutting down its corresponding IO thread residents |
| (...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 250 BrowserContext* browser_context_; | 251 BrowserContext* browser_context_; |
| 251 | 252 |
| 252 base::WeakPtrFactory<StoragePartitionImpl> weak_factory_; | 253 base::WeakPtrFactory<StoragePartitionImpl> weak_factory_; |
| 253 | 254 |
| 254 DISALLOW_COPY_AND_ASSIGN(StoragePartitionImpl); | 255 DISALLOW_COPY_AND_ASSIGN(StoragePartitionImpl); |
| 255 }; | 256 }; |
| 256 | 257 |
| 257 } // namespace content | 258 } // namespace content |
| 258 | 259 |
| 259 #endif // CONTENT_BROWSER_STORAGE_PARTITION_IMPL_H_ | 260 #endif // CONTENT_BROWSER_STORAGE_PARTITION_IMPL_H_ |
| OLD | NEW |