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

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: Dane's review 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 276 matching lines...) Expand 10 before | Expand all | Expand 10 after
287 }; 287 };
288 288
289 // For measuring the network request time of various Wallet API calls. See 289 // For measuring the network request time of various Wallet API calls. See
290 // WalletClient::RequestType. 290 // WalletClient::RequestType.
291 enum WalletApiCallMetric { 291 enum WalletApiCallMetric {
292 UNKNOWN_API_CALL, // Catch all. Should never be used. 292 UNKNOWN_API_CALL, // Catch all. Should never be used.
293 ACCEPT_LEGAL_DOCUMENTS, 293 ACCEPT_LEGAL_DOCUMENTS,
294 AUTHENTICATE_INSTRUMENT, 294 AUTHENTICATE_INSTRUMENT,
295 GET_FULL_WALLET, 295 GET_FULL_WALLET,
296 GET_WALLET_ITEMS, 296 GET_WALLET_ITEMS,
297 SAVE_ADDRESS, 297 SAVE_ADDRESS_DEPRECATED,
298 SAVE_INSTRUMENT, 298 SAVE_INSTRUMENT_DEPRECATED,
299 SAVE_INSTRUMENT_AND_ADDRESS, 299 SAVE_INSTRUMENT_AND_ADDRESS_DEPRECATED,
Dan Beam 2013/07/02 01:25:52 i would just remove these and put hardcoded number
ahutter 2013/07/02 15:44:23 Put hardcoded in for now. After I get your lg I'l
300 SAVE_TO_WALLET,
300 SEND_STATUS, 301 SEND_STATUS,
301 UPDATE_ADDRESS, 302 UPDATE_ADDRESS_DEPRECATED,
302 UPDATE_INSTRUMENT, 303 UPDATE_INSTRUMENT_DEPRECATED,
Dan Beam 2013/07/02 01:25:52 SAVE_TO_WALLET needs to be at the end
Raman Kakilate 2013/07/02 01:41:24 :)
ahutter 2013/07/02 15:44:23 Done.
303 }; 304 };
304 305
305 // For measuring the frequency of errors while communicating with the Wallet 306 // For measuring the frequency of errors while communicating with the Wallet
306 // server. 307 // server.
307 enum WalletErrorMetric { 308 enum WalletErrorMetric {
308 // Baseline metric: Issued a request to the Wallet server. 309 // Baseline metric: Issued a request to the Wallet server.
309 WALLET_ERROR_BASELINE_ISSUED_REQUEST = 0, 310 WALLET_ERROR_BASELINE_ISSUED_REQUEST = 0,
310 // A fatal error occured while communicating with the Wallet server. This 311 // A fatal error occured while communicating with the Wallet server. This
311 // value has been deprecated. 312 // value has been deprecated.
312 WALLET_FATAL_ERROR_DEPRECATED, 313 WALLET_FATAL_ERROR_DEPRECATED,
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
502 virtual void LogServerExperimentIdForUpload( 503 virtual void LogServerExperimentIdForUpload(
503 const std::string& experiment_id) const; 504 const std::string& experiment_id) const;
504 505
505 private: 506 private:
506 DISALLOW_COPY_AND_ASSIGN(AutofillMetrics); 507 DISALLOW_COPY_AND_ASSIGN(AutofillMetrics);
507 }; 508 };
508 509
509 } // namespace autofill 510 } // namespace autofill
510 511
511 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_METRICS_H_ 512 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_METRICS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698