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 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
113 | 113 |
114 // Called by each renderer process once. | 114 // Called by each renderer process once. |
115 void Bind(mojo::InterfaceRequest<mojom::StoragePartitionService> request); | 115 void Bind(mojo::InterfaceRequest<mojom::StoragePartitionService> request); |
116 | 116 |
117 struct DataDeletionHelper; | 117 struct DataDeletionHelper; |
118 struct QuotaManagedDataDeletionHelper; | 118 struct QuotaManagedDataDeletionHelper; |
119 | 119 |
120 private: | 120 private: |
121 friend class BackgroundSyncManagerTest; | 121 friend class BackgroundSyncManagerTest; |
122 friend class BackgroundSyncServiceImplTest; | 122 friend class BackgroundSyncServiceImplTest; |
123 friend class PaymentAppManagerTest; | 123 friend class PaymentAppContentUnitTestBase; |
124 friend class StoragePartitionImplMap; | 124 friend class StoragePartitionImplMap; |
125 FRIEND_TEST_ALL_PREFIXES(StoragePartitionShaderClearTest, ClearShaderCache); | 125 FRIEND_TEST_ALL_PREFIXES(StoragePartitionShaderClearTest, ClearShaderCache); |
126 FRIEND_TEST_ALL_PREFIXES(StoragePartitionImplTest, | 126 FRIEND_TEST_ALL_PREFIXES(StoragePartitionImplTest, |
127 RemoveQuotaManagedDataForeverBoth); | 127 RemoveQuotaManagedDataForeverBoth); |
128 FRIEND_TEST_ALL_PREFIXES(StoragePartitionImplTest, | 128 FRIEND_TEST_ALL_PREFIXES(StoragePartitionImplTest, |
129 RemoveQuotaManagedDataForeverOnlyTemporary); | 129 RemoveQuotaManagedDataForeverOnlyTemporary); |
130 FRIEND_TEST_ALL_PREFIXES(StoragePartitionImplTest, | 130 FRIEND_TEST_ALL_PREFIXES(StoragePartitionImplTest, |
131 RemoveQuotaManagedDataForeverOnlyPersistent); | 131 RemoveQuotaManagedDataForeverOnlyPersistent); |
132 FRIEND_TEST_ALL_PREFIXES(StoragePartitionImplTest, | 132 FRIEND_TEST_ALL_PREFIXES(StoragePartitionImplTest, |
133 RemoveQuotaManagedDataForeverNeither); | 133 RemoveQuotaManagedDataForeverNeither); |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
228 BrowserContext* browser_context_; | 228 BrowserContext* browser_context_; |
229 | 229 |
230 base::WeakPtrFactory<StoragePartitionImpl> weak_factory_; | 230 base::WeakPtrFactory<StoragePartitionImpl> weak_factory_; |
231 | 231 |
232 DISALLOW_COPY_AND_ASSIGN(StoragePartitionImpl); | 232 DISALLOW_COPY_AND_ASSIGN(StoragePartitionImpl); |
233 }; | 233 }; |
234 | 234 |
235 } // namespace content | 235 } // namespace content |
236 | 236 |
237 #endif // CONTENT_BROWSER_STORAGE_PARTITION_IMPL_H_ | 237 #endif // CONTENT_BROWSER_STORAGE_PARTITION_IMPL_H_ |
OLD | NEW |