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

Issue 5703002: Add some basic success/failure UMA logging for autofill. (Closed)

Created:
10 years ago by Ilya Sherman
Modified:
9 years, 7 months ago
Reviewers:
dhollowa
CC:
chromium-reviews, Paweł Hajdan Jr., James Hawkins, dhollowa, vadimb, Ilya Sherman
Visibility:
Public.

Description

Add some basic success/failure UMA logging for autofill. BUG=none TEST=unit_tests --gtest_filter=AutoFillMetricsTest.*

Patch Set 1 #

Total comments: 5

Patch Set 2 : Address review comments #

Patch Set 3 : 80-col #

Patch Set 4 : Expanded the tests slightly #

Patch Set 5 : Hopefully compile on Windows #

Total comments: 6

Patch Set 6 : Single AutoFillMetrics class, more mocks #

Total comments: 1

Patch Set 7 : Forbid copying, assignments (just like in, school) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+411 lines, -83 lines) Patch
M chrome/browser/autofill/autofill_download.h View 1 2 3 4 5 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/autofill/autofill_download.cc View 1 2 3 4 5 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/autofill/autofill_download_unittest.cc View 1 2 3 4 5 6 7 chunks +25 lines, -7 lines 0 comments Download
M chrome/browser/autofill/autofill_manager.h View 1 2 3 4 5 6 chunks +14 lines, -10 lines 0 comments Download
M chrome/browser/autofill/autofill_manager.cc View 1 2 3 4 5 8 chunks +55 lines, -13 lines 0 comments Download
M chrome/browser/autofill/autofill_manager_unittest.cc View 1 2 3 4 3 chunks +4 lines, -8 lines 0 comments Download
M chrome/browser/autofill/autofill_metrics.h View 1 2 3 4 5 6 1 chunk +49 lines, -25 lines 0 comments Download
M chrome/browser/autofill/autofill_metrics.cc View 1 2 3 4 5 1 chunk +14 lines, -5 lines 0 comments Download
A chrome/browser/autofill/autofill_metrics_unittest.cc View 1 2 3 4 5 6 1 chunk +229 lines, -0 lines 0 comments Download
M chrome/browser/autofill/form_structure.h View 1 2 3 4 5 2 chunks +4 lines, -1 line 0 comments Download
M chrome/browser/autofill/form_structure.cc View 1 2 3 4 5 3 chunks +9 lines, -10 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 4 5 2 chunks +2 lines, -1 line 0 comments Download

Messages

Total messages: 6 (0 generated)
Ilya Sherman
This only adds logging for the simple success and failure metrics David and I talked ...
10 years ago (2010-12-10 09:07:42 UTC) #1
dhollowa
http://codereview.chromium.org/5703002/diff/1/chrome/browser/autofill/autofill_download.h File chrome/browser/autofill/autofill_download.h (right): http://codereview.chromium.org/5703002/diff/1/chrome/browser/autofill/autofill_download.h#newcode107 chrome/browser/autofill/autofill_download.h:107: bool StartRequest( The previous formatting is better. http://codereview.chromium.org/5703002/diff/1/chrome/browser/autofill/autofill_metrics.h File ...
10 years ago (2010-12-10 21:37:38 UTC) #2
Ilya Sherman
In addition to the below changes, I changed the code around to no longer log ...
10 years ago (2010-12-11 03:35:02 UTC) #3
dhollowa
http://codereview.chromium.org/5703002/diff/15001/chrome/browser/autofill/autofill_download.h File chrome/browser/autofill/autofill_download.h (right): http://codereview.chromium.org/5703002/diff/15001/chrome/browser/autofill/autofill_download.h#newcode19 chrome/browser/autofill/autofill_download.h:19: class AutoFillServerQueryMetricLogger; Wow, long name... How about AutoFillMetrics? http://codereview.chromium.org/5703002/diff/15001/chrome/browser/autofill/autofill_download_unittest.cc ...
10 years ago (2010-12-12 07:07:51 UTC) #4
Ilya Sherman
http://codereview.chromium.org/5703002/diff/15001/chrome/browser/autofill/autofill_download.h File chrome/browser/autofill/autofill_download.h (right): http://codereview.chromium.org/5703002/diff/15001/chrome/browser/autofill/autofill_download.h#newcode19 chrome/browser/autofill/autofill_download.h:19: class AutoFillServerQueryMetricLogger; On 2010/12/12 07:07:51, dhollowa wrote: > Wow, ...
10 years ago (2010-12-13 22:13:51 UTC) #5
dhollowa
10 years ago (2010-12-14 00:01:55 UTC) #6
LGTM (with one small nit).  Let the data flow!

http://codereview.chromium.org/5703002/diff/23001/chrome/browser/autofill/aut...
File chrome/browser/autofill/autofill_metrics.h (right):

http://codereview.chromium.org/5703002/diff/23001/chrome/browser/autofill/aut...
chrome/browser/autofill/autofill_metrics.h:54: };
nit: DISALLOW_COPY_AND_ASSIGN(AutoFillMetrics);

Powered by Google App Engine
This is Rietveld 408576698