| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 WEBKIT_BROWSER_QUOTA_MOCK_QUOTA_MANAGER_H_ | 5 #ifndef WEBKIT_BROWSER_QUOTA_MOCK_QUOTA_MANAGER_H_ |
| 6 #define WEBKIT_BROWSER_QUOTA_MOCK_QUOTA_MANAGER_H_ | 6 #define WEBKIT_BROWSER_QUOTA_MOCK_QUOTA_MANAGER_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| 11 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
| 12 #include "googleurl/src/gurl.h" | 12 #include "url/gurl.h" |
| 13 #include "webkit/browser/quota/quota_client.h" | 13 #include "webkit/browser/quota/quota_client.h" |
| 14 #include "webkit/browser/quota/quota_manager.h" | 14 #include "webkit/browser/quota/quota_manager.h" |
| 15 #include "webkit/browser/quota/quota_task.h" | 15 #include "webkit/browser/quota/quota_task.h" |
| 16 #include "webkit/common/quota/quota_types.h" | 16 #include "webkit/common/quota/quota_types.h" |
| 17 | 17 |
| 18 namespace quota { | 18 namespace quota { |
| 19 | 19 |
| 20 // Mocks the pieces of QuotaManager's interface. | 20 // Mocks the pieces of QuotaManager's interface. |
| 21 // | 21 // |
| 22 // For usage/quota tracking test: | 22 // For usage/quota tracking test: |
| (...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 188 GURL last_notified_origin_; | 188 GURL last_notified_origin_; |
| 189 StorageType last_notified_type_; | 189 StorageType last_notified_type_; |
| 190 int64 last_notified_delta_; | 190 int64 last_notified_delta_; |
| 191 | 191 |
| 192 QuotaClient* registered_client_; | 192 QuotaClient* registered_client_; |
| 193 }; | 193 }; |
| 194 | 194 |
| 195 } // namespace quota | 195 } // namespace quota |
| 196 | 196 |
| 197 #endif // WEBKIT_BROWSER_QUOTA_MOCK_QUOTA_MANAGER_H_ | 197 #endif // WEBKIT_BROWSER_QUOTA_MOCK_QUOTA_MANAGER_H_ |
| OLD | NEW |