| 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 "content/browser/quota/mock_quota_manager.h" | 8 #include "content/browser/quota/mock_quota_manager.h" |
| 9 #include "url/gurl.h" | 9 #include "url/gurl.h" |
| 10 #include "webkit/browser/quota/quota_client.h" | 10 #include "storage/browser/quota/quota_client.h" |
| 11 #include "webkit/browser/quota/quota_manager_proxy.h" | 11 #include "storage/browser/quota/quota_manager_proxy.h" |
| 12 #include "webkit/common/quota/quota_types.h" | 12 #include "storage/common/quota/quota_types.h" |
| 13 | 13 |
| 14 using quota::QuotaManagerProxy; | 14 using quota::QuotaManagerProxy; |
| 15 | 15 |
| 16 namespace content { | 16 namespace content { |
| 17 | 17 |
| 18 class MockQuotaManager; | 18 class MockQuotaManager; |
| 19 | 19 |
| 20 class MockQuotaManagerProxy : public QuotaManagerProxy { | 20 class MockQuotaManagerProxy : public QuotaManagerProxy { |
| 21 public: | 21 public: |
| 22 // It is ok to give NULL to |quota_manager|. | 22 // It is ok to give NULL to |quota_manager|. |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 78 int64 last_notified_delta_; | 78 int64 last_notified_delta_; |
| 79 | 79 |
| 80 QuotaClient* registered_client_; | 80 QuotaClient* registered_client_; |
| 81 | 81 |
| 82 DISALLOW_COPY_AND_ASSIGN(MockQuotaManagerProxy); | 82 DISALLOW_COPY_AND_ASSIGN(MockQuotaManagerProxy); |
| 83 }; | 83 }; |
| 84 | 84 |
| 85 } // namespace content | 85 } // namespace content |
| 86 | 86 |
| 87 #endif // CONTENT_BROWSER_QUOTA_MOCK_QUOTA_MANAGER_PROXY_H_ | 87 #endif // CONTENT_BROWSER_QUOTA_MOCK_QUOTA_MANAGER_PROXY_H_ |
| OLD | NEW |