| 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> |
| 11 #include <vector> | 11 #include <vector> |
| 12 | 12 |
| 13 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
| 14 #include "storage/browser/quota/quota_client.h" |
| 15 #include "storage/browser/quota/quota_manager.h" |
| 16 #include "storage/browser/quota/quota_task.h" |
| 14 #include "storage/common/quota/quota_types.h" | 17 #include "storage/common/quota/quota_types.h" |
| 15 #include "url/gurl.h" | 18 #include "url/gurl.h" |
| 16 #include "webkit/browser/quota/quota_client.h" | |
| 17 #include "webkit/browser/quota/quota_manager.h" | |
| 18 #include "webkit/browser/quota/quota_task.h" | |
| 19 | 19 |
| 20 using storage::GetOriginsCallback; | 20 using storage::GetOriginsCallback; |
| 21 using storage::QuotaClient; | 21 using storage::QuotaClient; |
| 22 using storage::QuotaManager; | 22 using storage::QuotaManager; |
| 23 using storage::QuotaStatusCode; | 23 using storage::QuotaStatusCode; |
| 24 using storage::SpecialStoragePolicy; | 24 using storage::SpecialStoragePolicy; |
| 25 using storage::StatusCallback; | 25 using storage::StatusCallback; |
| 26 using storage::StorageType; | 26 using storage::StorageType; |
| 27 | 27 |
| 28 namespace content { | 28 namespace content { |
| (...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 144 std::vector<OriginInfo> origins_; | 144 std::vector<OriginInfo> origins_; |
| 145 UsageAndQuotaMap usage_and_quota_map_; | 145 UsageAndQuotaMap usage_and_quota_map_; |
| 146 base::WeakPtrFactory<MockQuotaManager> weak_factory_; | 146 base::WeakPtrFactory<MockQuotaManager> weak_factory_; |
| 147 | 147 |
| 148 DISALLOW_COPY_AND_ASSIGN(MockQuotaManager); | 148 DISALLOW_COPY_AND_ASSIGN(MockQuotaManager); |
| 149 }; | 149 }; |
| 150 | 150 |
| 151 } // namespace content | 151 } // namespace content |
| 152 | 152 |
| 153 #endif // CONTENT_BROWSER_QUOTA_MOCK_QUOTA_MANAGER_H_ | 153 #endif // CONTENT_BROWSER_QUOTA_MOCK_QUOTA_MANAGER_H_ |
| OLD | NEW |