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

Side by Side Diff: chrome/browser/autofill/autofill_metrics.h

Issue 11539003: Pop up requestAutocomplete UI when autofill server hints chrome client that it is in a multipage au… (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Resolve with AutofillDialogController refactoring. Created 7 years, 11 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
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 CHROME_BROWSER_AUTOFILL_AUTOFILL_METRICS_H_ 5 #ifndef CHROME_BROWSER_AUTOFILL_AUTOFILL_METRICS_H_
6 #define CHROME_BROWSER_AUTOFILL_AUTOFILL_METRICS_H_ 6 #define CHROME_BROWSER_AUTOFILL_AUTOFILL_METRICS_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <string> 9 #include <string>
10 10
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 AutofillFieldType field_type, 149 AutofillFieldType field_type,
150 const std::string& experiment_id) const; 150 const std::string& experiment_id) const;
151 151
152 virtual void LogQualityMetric(QualityMetric metric, 152 virtual void LogQualityMetric(QualityMetric metric,
153 const std::string& experiment_id) const; 153 const std::string& experiment_id) const;
154 154
155 virtual void LogServerQueryMetric(ServerQueryMetric metric) const; 155 virtual void LogServerQueryMetric(ServerQueryMetric metric) const;
156 156
157 virtual void LogUserHappinessMetric(UserHappinessMetric metric) const; 157 virtual void LogUserHappinessMetric(UserHappinessMetric metric) const;
158 158
159 virtual void LogAutocheckoutInfoBarMetric(InfoBarMetric metric) const;
160
159 // This should be called when a form that has been Autofilled is submitted. 161 // This should be called when a form that has been Autofilled is submitted.
160 // |duration| should be the time elapsed between form load and submission. 162 // |duration| should be the time elapsed between form load and submission.
161 virtual void LogFormFillDurationFromLoadWithAutofill( 163 virtual void LogFormFillDurationFromLoadWithAutofill(
162 const base::TimeDelta& duration) const; 164 const base::TimeDelta& duration) const;
163 165
164 // This should be called when a fillable form that has not been Autofilled is 166 // This should be called when a fillable form that has not been Autofilled is
165 // submitted. |duration| should be the time elapsed between form load and 167 // submitted. |duration| should be the time elapsed between form load and
166 // submission. 168 // submission.
167 virtual void LogFormFillDurationFromLoadWithoutAutofill( 169 virtual void LogFormFillDurationFromLoadWithoutAutofill(
168 const base::TimeDelta& duration) const; 170 const base::TimeDelta& duration) const;
(...skipping 29 matching lines...) Expand all
198 200
199 // Logs the experiment id corresponding to an upload to the server. 201 // Logs the experiment id corresponding to an upload to the server.
200 virtual void LogServerExperimentIdForUpload( 202 virtual void LogServerExperimentIdForUpload(
201 const std::string& experiment_id) const; 203 const std::string& experiment_id) const;
202 204
203 private: 205 private:
204 DISALLOW_COPY_AND_ASSIGN(AutofillMetrics); 206 DISALLOW_COPY_AND_ASSIGN(AutofillMetrics);
205 }; 207 };
206 208
207 #endif // CHROME_BROWSER_AUTOFILL_AUTOFILL_METRICS_H_ 209 #endif // CHROME_BROWSER_AUTOFILL_AUTOFILL_METRICS_H_
OLDNEW
« no previous file with comments | « chrome/browser/autofill/autofill_manager.cc ('k') | chrome/browser/autofill/autofill_metrics.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698