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

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

Issue 1839583003: [Autofill] Log the number of stored local credit cards (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: addressed comments Created 4 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
« 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 616 matching lines...) Expand 10 before | Expand all | Expand 10 after
627 627
628 // This should be called each time a page containing forms is loaded. 628 // This should be called each time a page containing forms is loaded.
629 static void LogIsAutofillEnabledAtPageLoad(bool enabled); 629 static void LogIsAutofillEnabledAtPageLoad(bool enabled);
630 630
631 // This should be called each time a new profile is launched. 631 // This should be called each time a new profile is launched.
632 static void LogIsAutofillEnabledAtStartup(bool enabled); 632 static void LogIsAutofillEnabledAtStartup(bool enabled);
633 633
634 // This should be called each time a new profile is launched. 634 // This should be called each time a new profile is launched.
635 static void LogStoredProfileCount(size_t num_profiles); 635 static void LogStoredProfileCount(size_t num_profiles);
636 636
637 // This should be called each time a new profile is launched.
638 static void LogStoredLocalCreditCardCount(size_t num_local_cards);
639
637 // Log the number of profiles available when an autofillable form is 640 // Log the number of profiles available when an autofillable form is
638 // submitted. 641 // submitted.
639 static void LogNumberOfProfilesAtAutofillableFormSubmission( 642 static void LogNumberOfProfilesAtAutofillableFormSubmission(
640 size_t num_profiles); 643 size_t num_profiles);
641 644
642 // Log the number of Autofill suggestions presented to the user when filling a 645 // Log the number of Autofill suggestions presented to the user when filling a
643 // form. 646 // form.
644 static void LogAddressSuggestionsCount(size_t num_suggestions); 647 static void LogAddressSuggestionsCount(size_t num_suggestions);
645 648
646 // Log the index of the selected Autofill suggestion in the popup. 649 // Log the index of the selected Autofill suggestion in the popup.
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
720 bool logged_suggestion_filled_was_masked_server_card_; 723 bool logged_suggestion_filled_was_masked_server_card_;
721 }; 724 };
722 725
723 private: 726 private:
724 DISALLOW_IMPLICIT_CONSTRUCTORS(AutofillMetrics); 727 DISALLOW_IMPLICIT_CONSTRUCTORS(AutofillMetrics);
725 }; 728 };
726 729
727 } // namespace autofill 730 } // namespace autofill
728 731
729 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_METRICS_H_ 732 #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