| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_QUOTA_MOCK_QUOTA_MANAGER_H_ | 5 #ifndef CONTENT_BROWSER_QUOTA_MOCK_QUOTA_MANAGER_H_ |
| 6 #define CONTENT_BROWSER_QUOTA_MOCK_QUOTA_MANAGER_H_ | 6 #define CONTENT_BROWSER_QUOTA_MOCK_QUOTA_MANAGER_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <set> | 9 #include <set> |
| 10 #include <utility> | 10 #include <utility> |
| (...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 140 QuotaStatusCode status); | 140 QuotaStatusCode status); |
| 141 | 141 |
| 142 // The list of stored origins that have been added via AddOrigin. | 142 // The list of stored origins that have been added via AddOrigin. |
| 143 std::vector<OriginInfo> origins_; | 143 std::vector<OriginInfo> origins_; |
| 144 UsageAndQuotaMap usage_and_quota_map_; | 144 UsageAndQuotaMap usage_and_quota_map_; |
| 145 base::WeakPtrFactory<MockQuotaManager> weak_factory_; | 145 base::WeakPtrFactory<MockQuotaManager> weak_factory_; |
| 146 | 146 |
| 147 DISALLOW_COPY_AND_ASSIGN(MockQuotaManager); | 147 DISALLOW_COPY_AND_ASSIGN(MockQuotaManager); |
| 148 }; | 148 }; |
| 149 | 149 |
| 150 } // namespace quota | 150 } // namespace content |
| 151 | 151 |
| 152 #endif // CONTENT_BROWSER_QUOTA_MOCK_QUOTA_MANAGER_H_ | 152 #endif // CONTENT_BROWSER_QUOTA_MOCK_QUOTA_MANAGER_H_ |
| OLD | NEW |