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

Side by Side Diff: components/autofill/core/browser/autofill_metrics.h

Issue 2395243002: [Autofill] Log count histogram for the number of server cards (Closed)
Patch Set: addressed nits Created 4 years, 2 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
« no previous file with comments | « no previous file | components/autofill/core/browser/autofill_metrics.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_AUTOFILL_CORE_BROWSER_AUTOFILL_METRICS_H_ 5 #ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_METRICS_H_
6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_METRICS_H_ 6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_METRICS_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <string> 9 #include <string>
10 10
(...skipping 583 matching lines...) Expand 10 before | Expand all | Expand 10 after
594 594
595 // This should be called each time a new profile is launched. 595 // This should be called each time a new profile is launched.
596 static void LogIsAutofillEnabledAtStartup(bool enabled); 596 static void LogIsAutofillEnabledAtStartup(bool enabled);
597 597
598 // This should be called each time a new profile is launched. 598 // This should be called each time a new profile is launched.
599 static void LogStoredProfileCount(size_t num_profiles); 599 static void LogStoredProfileCount(size_t num_profiles);
600 600
601 // This should be called each time a new profile is launched. 601 // This should be called each time a new profile is launched.
602 static void LogStoredLocalCreditCardCount(size_t num_local_cards); 602 static void LogStoredLocalCreditCardCount(size_t num_local_cards);
603 603
604 // This should be called each time a new profile is launched.
605 static void LogStoredServerCreditCardCounts(size_t num_masked_cards,
606 size_t num_unmasked_cards);
607
604 // Log the number of profiles available when an autofillable form is 608 // Log the number of profiles available when an autofillable form is
605 // submitted. 609 // submitted.
606 static void LogNumberOfProfilesAtAutofillableFormSubmission( 610 static void LogNumberOfProfilesAtAutofillableFormSubmission(
607 size_t num_profiles); 611 size_t num_profiles);
608 612
609 // Log the number of Autofill suggestions presented to the user when filling a 613 // Log the number of Autofill suggestions presented to the user when filling a
610 // form. 614 // form.
611 static void LogAddressSuggestionsCount(size_t num_suggestions); 615 static void LogAddressSuggestionsCount(size_t num_suggestions);
612 616
613 // Log the index of the selected Autofill suggestion in the popup. 617 // Log the index of the selected Autofill suggestion in the popup.
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
702 FormFieldData last_polled_field_; 706 FormFieldData last_polled_field_;
703 }; 707 };
704 708
705 private: 709 private:
706 DISALLOW_IMPLICIT_CONSTRUCTORS(AutofillMetrics); 710 DISALLOW_IMPLICIT_CONSTRUCTORS(AutofillMetrics);
707 }; 711 };
708 712
709 } // namespace autofill 713 } // namespace autofill
710 714
711 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_METRICS_H_ 715 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_METRICS_H_
OLDNEW
« no previous file with comments | « no previous file | components/autofill/core/browser/autofill_metrics.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698