| 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 COMPONENTS_NTP_SNIPPETS_CONTENT_SUGGESTIONS_METRICS_H_ | 5 #ifndef COMPONENTS_NTP_SNIPPETS_CONTENT_SUGGESTIONS_METRICS_H_ |
| 6 #define COMPONENTS_NTP_SNIPPETS_CONTENT_SUGGESTIONS_METRICS_H_ | 6 #define COMPONENTS_NTP_SNIPPETS_CONTENT_SUGGESTIONS_METRICS_H_ |
| 7 | 7 |
| 8 #include <utility> | 8 #include <utility> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 51 | 51 |
| 52 void OnCategoryMovedUp(int new_index); | 52 void OnCategoryMovedUp(int new_index); |
| 53 | 53 |
| 54 // Should only be called once per NTP for each "more" button. | 54 // Should only be called once per NTP for each "more" button. |
| 55 void OnMoreButtonShown(Category category, int position); | 55 void OnMoreButtonShown(Category category, int position); |
| 56 | 56 |
| 57 void OnMoreButtonClicked(Category category, int position); | 57 void OnMoreButtonClicked(Category category, int position); |
| 58 | 58 |
| 59 void OnCategoryDismissed(Category category); | 59 void OnCategoryDismissed(Category category); |
| 60 | 60 |
| 61 void RecordRemoteSuggestionsProviderState(bool enabled); |
| 62 |
| 61 } // namespace metrics | 63 } // namespace metrics |
| 62 } // namespace ntp_snippets | 64 } // namespace ntp_snippets |
| 63 | 65 |
| 64 #endif // COMPONENTS_NTP_SNIPPETS_CONTENT_SUGGESTIONS_SERVICE_H_ | 66 #endif // COMPONENTS_NTP_SNIPPETS_CONTENT_SUGGESTIONS_SERVICE_H_ |
| OLD | NEW |