| 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_PROXY_H_ | 5 #ifndef CONTENT_BROWSER_QUOTA_MOCK_QUOTA_MANAGER_PROXY_H_ |
| 6 #define CONTENT_BROWSER_QUOTA_MOCK_QUOTA_MANAGER_PROXY_H_ | 6 #define CONTENT_BROWSER_QUOTA_MOCK_QUOTA_MANAGER_PROXY_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| 11 #include "content/browser/quota/mock_quota_manager.h" | |
| 12 #include "storage/browser/quota/quota_client.h" | 11 #include "storage/browser/quota/quota_client.h" |
| 13 #include "storage/browser/quota/quota_manager_proxy.h" | 12 #include "storage/browser/quota/quota_manager_proxy.h" |
| 13 #include "storage/browser/test/mock_quota_manager.h" |
| 14 #include "storage/common/quota/quota_types.h" | 14 #include "storage/common/quota/quota_types.h" |
| 15 #include "url/gurl.h" | 15 #include "url/gurl.h" |
| 16 | 16 |
| 17 using storage::QuotaManagerProxy; | 17 using storage::QuotaManagerProxy; |
| 18 | 18 |
| 19 namespace content { | 19 namespace content { |
| 20 | 20 |
| 21 class MockQuotaManager; | 21 class MockQuotaManager; |
| 22 | 22 |
| 23 class MockQuotaManagerProxy : public QuotaManagerProxy { | 23 class MockQuotaManagerProxy : public QuotaManagerProxy { |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 81 int64_t last_notified_delta_; | 81 int64_t last_notified_delta_; |
| 82 | 82 |
| 83 QuotaClient* registered_client_; | 83 QuotaClient* registered_client_; |
| 84 | 84 |
| 85 DISALLOW_COPY_AND_ASSIGN(MockQuotaManagerProxy); | 85 DISALLOW_COPY_AND_ASSIGN(MockQuotaManagerProxy); |
| 86 }; | 86 }; |
| 87 | 87 |
| 88 } // namespace content | 88 } // namespace content |
| 89 | 89 |
| 90 #endif // CONTENT_BROWSER_QUOTA_MOCK_QUOTA_MANAGER_PROXY_H_ | 90 #endif // CONTENT_BROWSER_QUOTA_MOCK_QUOTA_MANAGER_PROXY_H_ |
| OLD | NEW |