Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(41)

Side by Side Diff: components/ntp_snippets/content_suggestions_metrics.h

Issue 2790183002: Add UMA for the content suggestions settings (Closed)
Patch Set: address comments and rebase Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « chrome/browser/ntp_snippets/ntp_snippets_metrics.h ('k') | components/ntp_snippets/content_suggestions_metrics.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698