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

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

Issue 2026353002: [Autofill] Credit Card Assist Infobar (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: cleaning Created 4 years, 4 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 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 495 matching lines...) Expand 10 before | Expand all | Expand 10 after
506 UPGRADE_MIN_ADDRESS, 506 UPGRADE_MIN_ADDRESS,
507 CHOOSE_ANOTHER_INSTRUMENT_OR_ADDRESS, 507 CHOOSE_ANOTHER_INSTRUMENT_OR_ADDRESS,
508 VERIFY_CVV, 508 VERIFY_CVV,
509 INVALID_FORM_FIELD, 509 INVALID_FORM_FIELD,
510 REQUIRE_PHONE_NUMBER, 510 REQUIRE_PHONE_NUMBER,
511 NUM_WALLET_REQUIRED_ACTIONS 511 NUM_WALLET_REQUIRED_ACTIONS
512 }; 512 };
513 513
514 static void LogCardUploadDecisionMetric(CardUploadDecisionMetric metric); 514 static void LogCardUploadDecisionMetric(CardUploadDecisionMetric metric);
515 static void LogCreditCardInfoBarMetric(InfoBarMetric metric); 515 static void LogCreditCardInfoBarMetric(InfoBarMetric metric);
516 static void LogCreditCardFillingInfoBarMetric(InfoBarMetric metric);
516 static void LogSaveCardPromptMetric(SaveCardPromptMetric metric, 517 static void LogSaveCardPromptMetric(SaveCardPromptMetric metric,
517 bool is_uploading, 518 bool is_uploading,
518 bool is_reshow); 519 bool is_reshow);
519 static void LogScanCreditCardPromptMetric(ScanCreditCardPromptMetric metric); 520 static void LogScanCreditCardPromptMetric(ScanCreditCardPromptMetric metric);
520 521
521 // Should be called when credit card scan is finished. |duration| should be 522 // Should be called when credit card scan is finished. |duration| should be
522 // the time elapsed between launching the credit card scanner and getting back 523 // the time elapsed between launching the credit card scanner and getting back
523 // the result. |completed| should be true if a credit card was scanned, false 524 // the result. |completed| should be true if a credit card was scanned, false
524 // if the scan was cancelled. 525 // if the scan was cancelled.
525 static void LogScanCreditCardCompleted(const base::TimeDelta& duration, 526 static void LogScanCreditCardCompleted(const base::TimeDelta& duration,
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after
701 FormFieldData last_polled_field_; 702 FormFieldData last_polled_field_;
702 }; 703 };
703 704
704 private: 705 private:
705 DISALLOW_IMPLICIT_CONSTRUCTORS(AutofillMetrics); 706 DISALLOW_IMPLICIT_CONSTRUCTORS(AutofillMetrics);
706 }; 707 };
707 708
708 } // namespace autofill 709 } // namespace autofill
709 710
710 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_METRICS_H_ 711 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_METRICS_H_
OLDNEW
« no previous file with comments | « components/autofill/core/browser/autofill_manager.cc ('k') | components/autofill/core/browser/autofill_metrics.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698