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

Issue 441013002: Eliminate MetricsProvider::RecordCurrentState() (Closed)

Created:
6 years, 4 months ago by gayane -on leave until 09-2017
Modified:
6 years, 4 months ago
CC:
chromium-reviews, Ilya Sherman, asvitkine+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Sync plugin list to local state after plugin change with delayed tasks BUG=379148 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=287920

Patch Set 1 #

Total comments: 16

Patch Set 2 : RecordCurrentState is called before reading from prefs and delayed calls are canceled. #

Total comments: 10

Patch Set 3 : minor fixes and name improvements #

Total comments: 10

Patch Set 4 : Minor fixes and new unittest #

Total comments: 6

Patch Set 5 : last changes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+136 lines, -13 lines) Patch
M chrome/browser/metrics/plugin_metrics_provider.h View 1 2 3 4 4 chunks +19 lines, -1 line 0 comments Download
M chrome/browser/metrics/plugin_metrics_provider.cc View 1 2 3 5 chunks +30 lines, -0 lines 0 comments Download
M chrome/browser/metrics/plugin_metrics_provider_unittest.cc View 1 2 3 4 5 chunks +87 lines, -6 lines 0 comments Download
M components/metrics/metrics_provider.h View 1 chunk +0 lines, -3 lines 0 comments Download
M components/metrics/metrics_service.cc View 1 chunk +0 lines, -3 lines 0 comments Download

Messages

Total messages: 27 (0 generated)
gayane -on leave until 09-2017
Here is my first draft.
6 years, 4 months ago (2014-08-05 19:41:17 UTC) #1
Alexei Svitkine (slow)
Looks great, some comments below. Thanks! https://codereview.chromium.org/441013002/diff/1/chrome/browser/metrics/plugin_metrics_provider.cc File chrome/browser/metrics/plugin_metrics_provider.cc (right): https://codereview.chromium.org/441013002/diff/1/chrome/browser/metrics/plugin_metrics_provider.cc#newcode26 chrome/browser/metrics/plugin_metrics_provider.cc:26: const int kRecordStateDelaySec ...
6 years, 4 months ago (2014-08-05 20:13:12 UTC) #2
gayane -on leave until 09-2017
https://codereview.chromium.org/441013002/diff/1/chrome/browser/metrics/plugin_metrics_provider.cc File chrome/browser/metrics/plugin_metrics_provider.cc (right): https://codereview.chromium.org/441013002/diff/1/chrome/browser/metrics/plugin_metrics_provider.cc#newcode26 chrome/browser/metrics/plugin_metrics_provider.cc:26: const int kRecordStateDelaySec = 10 * 60; On 2014/08/05 ...
6 years, 4 months ago (2014-08-05 21:24:56 UTC) #3
Alexei Svitkine (slow)
Almost there, few more comments. https://codereview.chromium.org/441013002/diff/40001/chrome/browser/metrics/plugin_metrics_provider.cc File chrome/browser/metrics/plugin_metrics_provider.cc (right): https://codereview.chromium.org/441013002/diff/40001/chrome/browser/metrics/plugin_metrics_provider.cc#newcode366 chrome/browser/metrics/plugin_metrics_provider.cc:366: } else { Nit: ...
6 years, 4 months ago (2014-08-05 21:35:21 UTC) #4
gayane -on leave until 09-2017
https://codereview.chromium.org/441013002/diff/40001/chrome/browser/metrics/plugin_metrics_provider.cc File chrome/browser/metrics/plugin_metrics_provider.cc (right): https://codereview.chromium.org/441013002/diff/40001/chrome/browser/metrics/plugin_metrics_provider.cc#newcode366 chrome/browser/metrics/plugin_metrics_provider.cc:366: } else { On 2014/08/05 21:35:21, Alexei Svitkine wrote: ...
6 years, 4 months ago (2014-08-06 14:51:35 UTC) #5
Alexei Svitkine (slow)
https://codereview.chromium.org/441013002/diff/60001/chrome/browser/metrics/plugin_metrics_provider.cc File chrome/browser/metrics/plugin_metrics_provider.cc (right): https://codereview.chromium.org/441013002/diff/60001/chrome/browser/metrics/plugin_metrics_provider.cc#newcode133 chrome/browser/metrics/plugin_metrics_provider.cc:133: Nit: No blank line at start of method body. ...
6 years, 4 months ago (2014-08-06 15:10:01 UTC) #6
gayane -on leave until 09-2017
https://codereview.chromium.org/441013002/diff/60001/chrome/browser/metrics/plugin_metrics_provider.cc File chrome/browser/metrics/plugin_metrics_provider.cc (right): https://codereview.chromium.org/441013002/diff/60001/chrome/browser/metrics/plugin_metrics_provider.cc#newcode133 chrome/browser/metrics/plugin_metrics_provider.cc:133: On 2014/08/06 15:10:01, Alexei Svitkine wrote: > Nit: No ...
6 years, 4 months ago (2014-08-06 19:38:27 UTC) #7
Alexei Svitkine (slow)
LGTM % remaining comments, good work! https://codereview.chromium.org/441013002/diff/80001/chrome/browser/metrics/plugin_metrics_provider.h File chrome/browser/metrics/plugin_metrics_provider.h (right): https://codereview.chromium.org/441013002/diff/80001/chrome/browser/metrics/plugin_metrics_provider.h#newcode77 chrome/browser/metrics/plugin_metrics_provider.h:77: // Saves plugin ...
6 years, 4 months ago (2014-08-06 19:43:40 UTC) #8
gayane -on leave until 09-2017
The CQ bit was checked by gayane@chromium.org
6 years, 4 months ago (2014-08-06 20:43:46 UTC) #9
gayane -on leave until 09-2017
The CQ bit was unchecked by gayane@chromium.org
6 years, 4 months ago (2014-08-06 20:43:46 UTC) #10
gayane -on leave until 09-2017
The CQ bit was checked by gayane@chromium.org
6 years, 4 months ago (2014-08-06 20:43:47 UTC) #11
gayane -on leave until 09-2017
The CQ bit was unchecked by gayane@chromium.org
6 years, 4 months ago (2014-08-06 20:43:53 UTC) #12
gayane -on leave until 09-2017
The CQ bit was checked by gayane@chromium.org
6 years, 4 months ago (2014-08-06 20:43:53 UTC) #13
gayane -on leave until 09-2017
The CQ bit was unchecked by gayane@chromium.org
6 years, 4 months ago (2014-08-06 20:43:56 UTC) #14
gayane -on leave until 09-2017
The CQ bit was checked by gayane@chromium.org
6 years, 4 months ago (2014-08-06 20:44:28 UTC) #15
gayane -on leave until 09-2017
The CQ bit was unchecked by gayane@chromium.org
6 years, 4 months ago (2014-08-06 20:45:01 UTC) #16
gayane -on leave until 09-2017
The CQ bit was checked by gayane@chromium.org
6 years, 4 months ago (2014-08-06 20:45:05 UTC) #17
gayane -on leave until 09-2017
The CQ bit was unchecked by gayane@chromium.org
6 years, 4 months ago (2014-08-06 20:45:06 UTC) #18
gayane -on leave until 09-2017
The CQ bit was checked by gayane@chromium.org
6 years, 4 months ago (2014-08-06 20:45:07 UTC) #19
gayane -on leave until 09-2017
The CQ bit was unchecked by gayane@chromium.org
6 years, 4 months ago (2014-08-06 20:45:49 UTC) #20
gayane -on leave until 09-2017
The CQ bit was checked by gayane@chromium.org
6 years, 4 months ago (2014-08-06 20:46:10 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gayane@chromium.org/441013002/100001
6 years, 4 months ago (2014-08-06 20:47:01 UTC) #22
gayane -on leave until 09-2017
last changes https://codereview.chromium.org/441013002/diff/80001/chrome/browser/metrics/plugin_metrics_provider.h File chrome/browser/metrics/plugin_metrics_provider.h (right): https://codereview.chromium.org/441013002/diff/80001/chrome/browser/metrics/plugin_metrics_provider.h#newcode77 chrome/browser/metrics/plugin_metrics_provider.h:77: // Saves plugin information to local state ...
6 years, 4 months ago (2014-08-06 20:47:07 UTC) #23
gayane -on leave until 09-2017
The CQ bit was unchecked by gayane@chromium.org
6 years, 4 months ago (2014-08-06 20:47:12 UTC) #24
gayane -on leave until 09-2017
The CQ bit was checked by gayane@chromium.org
6 years, 4 months ago (2014-08-06 20:47:13 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gayane@chromium.org/441013002/100001
6 years, 4 months ago (2014-08-06 20:49:04 UTC) #26
commit-bot: I haz the power
6 years, 4 months ago (2014-08-07 00:55:42 UTC) #27
Message was sent while issue was closed.
Change committed as 287920

Powered by Google App Engine
This is Rietveld 408576698