| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 IOS_CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_COUNTER_WRAPPER_H_ | 5 #ifndef IOS_CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_COUNTER_WRAPPER_H_ |
| 6 #define IOS_CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_COUNTER_WRAPPER_H_ | 6 #define IOS_CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_COUNTER_WRAPPER_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 // The counter for which the interaction is managed by this wrapper. | 50 // The counter for which the interaction is managed by this wrapper. |
| 51 std::unique_ptr<browsing_data::BrowsingDataCounter> counter_; | 51 std::unique_ptr<browsing_data::BrowsingDataCounter> counter_; |
| 52 | 52 |
| 53 // Callback that updates the UI once the counter result is ready. This is | 53 // Callback that updates the UI once the counter result is ready. This is |
| 54 // invoked by UpdateWithResult. | 54 // invoked by UpdateWithResult. |
| 55 UpdateUICallback update_ui_callback_; | 55 UpdateUICallback update_ui_callback_; |
| 56 | 56 |
| 57 DISALLOW_COPY_AND_ASSIGN(BrowsingDataCounterWrapper); | 57 DISALLOW_COPY_AND_ASSIGN(BrowsingDataCounterWrapper); |
| 58 }; | 58 }; |
| 59 | 59 |
| 60 #endif // IOS_CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_COUNTER_WRAPPER_ | 60 #endif // IOS_CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_COUNTER_WRAPPER_H_ |
| OLD | NEW |