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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
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); | 61 void RecordRemoteSuggestionsProviderState(bool enabled); |
62 | 62 |
63 // User Actions | |
Marc Treib
2017/05/05 16:05:39
nit: I'd remove the comment - these are not the on
dgn
2017/05/08 12:40:50
Done.
| |
64 void RecordContentSuggestionDismissed(); | |
65 void RecordCategoryDismissed(); | |
66 void RecordFetchAction(); | |
67 | |
63 } // namespace metrics | 68 } // namespace metrics |
64 } // namespace ntp_snippets | 69 } // namespace ntp_snippets |
65 | 70 |
66 #endif // COMPONENTS_NTP_SNIPPETS_CONTENT_SUGGESTIONS_SERVICE_H_ | 71 #endif // COMPONENTS_NTP_SNIPPETS_CONTENT_SUGGESTIONS_SERVICE_H_ |
OLD | NEW |