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

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

Issue 23604043: Revert 221713 "rAc: Wallet: UMA for wallet response codes." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 3 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 | Annotate | Revision Log
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 371 matching lines...) Expand 10 before | Expand all | Expand 10 after
382 382
383 // Logs the network request time of Wallet API calls. 383 // Logs the network request time of Wallet API calls.
384 virtual void LogWalletApiCallDuration( 384 virtual void LogWalletApiCallDuration(
385 WalletApiCallMetric metric, 385 WalletApiCallMetric metric,
386 const base::TimeDelta& duration) const; 386 const base::TimeDelta& duration) const;
387 387
388 // Logs |required_action| to the required actions histogram. 388 // Logs |required_action| to the required actions histogram.
389 virtual void LogWalletRequiredActionMetric( 389 virtual void LogWalletRequiredActionMetric(
390 WalletRequiredActionMetric required_action) const; 390 WalletRequiredActionMetric required_action) const;
391 391
392 // Logs HTTP response codes recieved by wallet client.
393 virtual void LogWalletResponseCode(int response_code) const;
394
395 // This should be called when a form that has been Autofilled is submitted. 392 // This should be called when a form that has been Autofilled is submitted.
396 // |duration| should be the time elapsed between form load and submission. 393 // |duration| should be the time elapsed between form load and submission.
397 virtual void LogFormFillDurationFromLoadWithAutofill( 394 virtual void LogFormFillDurationFromLoadWithAutofill(
398 const base::TimeDelta& duration) const; 395 const base::TimeDelta& duration) const;
399 396
400 // This should be called when a fillable form that has not been Autofilled is 397 // This should be called when a fillable form that has not been Autofilled is
401 // submitted. |duration| should be the time elapsed between form load and 398 // submitted. |duration| should be the time elapsed between form load and
402 // submission. 399 // submission.
403 virtual void LogFormFillDurationFromLoadWithoutAutofill( 400 virtual void LogFormFillDurationFromLoadWithoutAutofill(
404 const base::TimeDelta& duration) const; 401 const base::TimeDelta& duration) const;
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
436 virtual void LogServerExperimentIdForUpload( 433 virtual void LogServerExperimentIdForUpload(
437 const std::string& experiment_id) const; 434 const std::string& experiment_id) const;
438 435
439 private: 436 private:
440 DISALLOW_COPY_AND_ASSIGN(AutofillMetrics); 437 DISALLOW_COPY_AND_ASSIGN(AutofillMetrics);
441 }; 438 };
442 439
443 } // namespace autofill 440 } // namespace autofill
444 441
445 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_METRICS_H_ 442 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_METRICS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698