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

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

Issue 17970003: New encryption/escrow endpoints for Wallet (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebasing again... Created 7 years, 5 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 278 matching lines...) Expand 10 before | Expand all | Expand 10 after
289 }; 289 };
290 290
291 // For measuring the network request time of various Wallet API calls. See 291 // For measuring the network request time of various Wallet API calls. See
292 // WalletClient::RequestType. 292 // WalletClient::RequestType.
293 enum WalletApiCallMetric { 293 enum WalletApiCallMetric {
294 UNKNOWN_API_CALL, // Catch all. Should never be used. 294 UNKNOWN_API_CALL, // Catch all. Should never be used.
295 ACCEPT_LEGAL_DOCUMENTS, 295 ACCEPT_LEGAL_DOCUMENTS,
296 AUTHENTICATE_INSTRUMENT, 296 AUTHENTICATE_INSTRUMENT,
297 GET_FULL_WALLET, 297 GET_FULL_WALLET,
298 GET_WALLET_ITEMS, 298 GET_WALLET_ITEMS,
299 SAVE_ADDRESS,
300 SAVE_INSTRUMENT,
301 SAVE_INSTRUMENT_AND_ADDRESS,
302 SEND_STATUS, 299 SEND_STATUS,
303 UPDATE_ADDRESS, 300 SAVE_TO_WALLET,
304 UPDATE_INSTRUMENT,
305 }; 301 };
306 302
307 // For measuring the frequency of errors while communicating with the Wallet 303 // For measuring the frequency of errors while communicating with the Wallet
308 // server. 304 // server.
309 enum WalletErrorMetric { 305 enum WalletErrorMetric {
310 // Baseline metric: Issued a request to the Wallet server. 306 // Baseline metric: Issued a request to the Wallet server.
311 WALLET_ERROR_BASELINE_ISSUED_REQUEST = 0, 307 WALLET_ERROR_BASELINE_ISSUED_REQUEST = 0,
312 // A fatal error occured while communicating with the Wallet server. This 308 // A fatal error occured while communicating with the Wallet server. This
313 // value has been deprecated. 309 // value has been deprecated.
314 WALLET_FATAL_ERROR_DEPRECATED, 310 WALLET_FATAL_ERROR_DEPRECATED,
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
504 virtual void LogServerExperimentIdForUpload( 500 virtual void LogServerExperimentIdForUpload(
505 const std::string& experiment_id) const; 501 const std::string& experiment_id) const;
506 502
507 private: 503 private:
508 DISALLOW_COPY_AND_ASSIGN(AutofillMetrics); 504 DISALLOW_COPY_AND_ASSIGN(AutofillMetrics);
509 }; 505 };
510 506
511 } // namespace autofill 507 } // namespace autofill
512 508
513 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_METRICS_H_ 509 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_METRICS_H_
OLDNEW
« no previous file with comments | « components/autofill/content/browser/wallet/wallet_test_util.cc ('k') | components/autofill/core/browser/autofill_metrics.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698