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 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
112 | 112 |
113 // Called by each renderer process once. | 113 // Called by each renderer process once. |
114 void Bind(mojo::InterfaceRequest<mojom::StoragePartitionService> request); | 114 void Bind(mojo::InterfaceRequest<mojom::StoragePartitionService> request); |
115 | 115 |
116 struct DataDeletionHelper; | 116 struct DataDeletionHelper; |
117 struct QuotaManagedDataDeletionHelper; | 117 struct QuotaManagedDataDeletionHelper; |
118 | 118 |
119 private: | 119 private: |
120 friend class BackgroundSyncManagerTest; | 120 friend class BackgroundSyncManagerTest; |
121 friend class BackgroundSyncServiceImplTest; | 121 friend class BackgroundSyncServiceImplTest; |
| 122 friend class PaymentAppManagerTest; |
122 friend class StoragePartitionImplMap; | 123 friend class StoragePartitionImplMap; |
123 FRIEND_TEST_ALL_PREFIXES(StoragePartitionShaderClearTest, ClearShaderCache); | 124 FRIEND_TEST_ALL_PREFIXES(StoragePartitionShaderClearTest, ClearShaderCache); |
124 FRIEND_TEST_ALL_PREFIXES(StoragePartitionImplTest, | 125 FRIEND_TEST_ALL_PREFIXES(StoragePartitionImplTest, |
125 RemoveQuotaManagedDataForeverBoth); | 126 RemoveQuotaManagedDataForeverBoth); |
126 FRIEND_TEST_ALL_PREFIXES(StoragePartitionImplTest, | 127 FRIEND_TEST_ALL_PREFIXES(StoragePartitionImplTest, |
127 RemoveQuotaManagedDataForeverOnlyTemporary); | 128 RemoveQuotaManagedDataForeverOnlyTemporary); |
128 FRIEND_TEST_ALL_PREFIXES(StoragePartitionImplTest, | 129 FRIEND_TEST_ALL_PREFIXES(StoragePartitionImplTest, |
129 RemoveQuotaManagedDataForeverOnlyPersistent); | 130 RemoveQuotaManagedDataForeverOnlyPersistent); |
130 FRIEND_TEST_ALL_PREFIXES(StoragePartitionImplTest, | 131 FRIEND_TEST_ALL_PREFIXES(StoragePartitionImplTest, |
131 RemoveQuotaManagedDataForeverNeither); | 132 RemoveQuotaManagedDataForeverNeither); |
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
234 // StoragePartitionImplMap which then owns StoragePartitionImpl. When the | 235 // StoragePartitionImplMap which then owns StoragePartitionImpl. When the |
235 // BrowserContext is destroyed, |this| will be destroyed too. | 236 // BrowserContext is destroyed, |this| will be destroyed too. |
236 BrowserContext* browser_context_; | 237 BrowserContext* browser_context_; |
237 | 238 |
238 DISALLOW_COPY_AND_ASSIGN(StoragePartitionImpl); | 239 DISALLOW_COPY_AND_ASSIGN(StoragePartitionImpl); |
239 }; | 240 }; |
240 | 241 |
241 } // namespace content | 242 } // namespace content |
242 | 243 |
243 #endif // CONTENT_BROWSER_STORAGE_PARTITION_IMPL_H_ | 244 #endif // CONTENT_BROWSER_STORAGE_PARTITION_IMPL_H_ |
OLD | NEW |