OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 CHROME_BROWSER_MOCK_BROWSING_DATA_QUOTA_HELPER_H_ | 5 #ifndef CHROME_BROWSER_MOCK_BROWSING_DATA_QUOTA_HELPER_H_ |
6 #define CHROME_BROWSER_MOCK_BROWSING_DATA_QUOTA_HELPER_H_ | 6 #define CHROME_BROWSER_MOCK_BROWSING_DATA_QUOTA_HELPER_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <list> | 9 #include <list> |
10 #include <string> | 10 #include <string> |
(...skipping 12 matching lines...) Expand all Loading... |
23 int64 temporary_usage, | 23 int64 temporary_usage, |
24 int64 persistent_usage); | 24 int64 persistent_usage); |
25 void AddQuotaSamples(); | 25 void AddQuotaSamples(); |
26 void Notify(); | 26 void Notify(); |
27 | 27 |
28 private: | 28 private: |
29 virtual ~MockBrowsingDataQuotaHelper(); | 29 virtual ~MockBrowsingDataQuotaHelper(); |
30 | 30 |
31 FetchResultCallback callback_; | 31 FetchResultCallback callback_; |
32 std::list<QuotaInfo> response_; | 32 std::list<QuotaInfo> response_; |
33 Profile* profile_; | |
34 }; | 33 }; |
35 | 34 |
36 #endif // CHROME_BROWSER_MOCK_BROWSING_DATA_QUOTA_HELPER_H_ | 35 #endif // CHROME_BROWSER_MOCK_BROWSING_DATA_QUOTA_HELPER_H_ |
OLD | NEW |