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

Unified Diff: chrome/browser/autofill/form_structure.h

Issue 5703002: Add some basic success/failure UMA logging for autofill. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 10 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/autofill/form_structure.h
diff --git a/chrome/browser/autofill/form_structure.h b/chrome/browser/autofill/form_structure.h
index fe4c5dadee127b09f39eeae73eea8e7db0563a69..3236f375c562a7c5cd11079e262efeb827dc0340 100644
--- a/chrome/browser/autofill/form_structure.h
+++ b/chrome/browser/autofill/form_structure.h
@@ -11,6 +11,7 @@
#include "base/scoped_vector.h"
#include "chrome/browser/autofill/autofill_field.h"
+#include "chrome/browser/autofill/autofill_metrics.h"
#include "chrome/browser/autofill/autofill_type.h"
#include "chrome/browser/autofill/field_types.h"
#include "googleurl/src/gurl.h"
@@ -53,9 +54,11 @@ class FormStructure {
// Parses the field types from the server query response. |forms| must be the
// same as the one passed to EncodeQueryRequest when constructing the query.
- static void ParseQueryResponse(const std::string& response_xml,
- const std::vector<FormStructure*>& forms,
- UploadRequired* upload_required);
+ static void ParseQueryResponse(
+ const std::string& response_xml,
+ const std::vector<FormStructure*>& forms,
+ UploadRequired* upload_required,
+ autofill_metrics::LogServerQueryMetricFn log_server_query_metric);
// The unique signature for this form, composed of the target url domain,
// the form name, and the form field names in a 64-bit hash.

Powered by Google App Engine
This is Rietveld 408576698