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

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

Issue 780423002: Don't deref stale AutofillMetrics pointer in AutofillCCInfoBarDelegate (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: static-ify Created 6 years 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 292 matching lines...) Expand 10 before | Expand all | Expand 10 after
303 CHOOSE_ANOTHER_INSTRUMENT_OR_ADDRESS, 303 CHOOSE_ANOTHER_INSTRUMENT_OR_ADDRESS,
304 VERIFY_CVV, 304 VERIFY_CVV,
305 INVALID_FORM_FIELD, 305 INVALID_FORM_FIELD,
306 REQUIRE_PHONE_NUMBER, 306 REQUIRE_PHONE_NUMBER,
307 NUM_WALLET_REQUIRED_ACTIONS 307 NUM_WALLET_REQUIRED_ACTIONS
308 }; 308 };
309 309
310 AutofillMetrics(); 310 AutofillMetrics();
311 virtual ~AutofillMetrics(); 311 virtual ~AutofillMetrics();
312 312
313 virtual void LogCreditCardInfoBarMetric(InfoBarMetric metric) const; 313 static void LogCreditCardInfoBarMetric(InfoBarMetric metric);
314 314
315 virtual void LogDeveloperEngagementMetric( 315 virtual void LogDeveloperEngagementMetric(
316 DeveloperEngagementMetric metric) const; 316 DeveloperEngagementMetric metric) const;
317 317
318 virtual void LogHeuristicTypePrediction(FieldTypeQualityMetric metric, 318 virtual void LogHeuristicTypePrediction(FieldTypeQualityMetric metric,
319 ServerFieldType field_type) const; 319 ServerFieldType field_type) const;
320 virtual void LogOverallTypePrediction(FieldTypeQualityMetric metric, 320 virtual void LogOverallTypePrediction(FieldTypeQualityMetric metric,
321 ServerFieldType field_type) const; 321 ServerFieldType field_type) const;
322 virtual void LogServerTypePrediction(FieldTypeQualityMetric metric, 322 virtual void LogServerTypePrediction(FieldTypeQualityMetric metric,
323 ServerFieldType field_type) const; 323 ServerFieldType field_type) const;
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
411 // form. 411 // form.
412 virtual void LogAddressSuggestionsCount(size_t num_suggestions) const; 412 virtual void LogAddressSuggestionsCount(size_t num_suggestions) const;
413 413
414 private: 414 private:
415 DISALLOW_COPY_AND_ASSIGN(AutofillMetrics); 415 DISALLOW_COPY_AND_ASSIGN(AutofillMetrics);
416 }; 416 };
417 417
418 } // namespace autofill 418 } // namespace autofill
419 419
420 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_METRICS_H_ 420 #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