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

Issue 9348105: Aggregate device activity, and report per-day activity in device status reports. (Closed)

Created:
8 years, 10 months ago by Patrick Dubroy
Modified:
8 years, 10 months ago
CC:
chromium-reviews, stevenjb+watch_chromium.org, nkostylev+watch_chromium.org, davemoore+watch_chromium.org, zhen_google.com, binzhao
Visibility:
Public.

Description

Aggregate device activity, and report per-day activity in device status reports. BUG=chromium-os:26372 TEST=Manual. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=122299

Patch Set 1 #

Patch Set 2 : Add a few more unit tests. #

Total comments: 22

Patch Set 3 : Rebase, and address Mattias' comments. #

Total comments: 6

Patch Set 4 : Address more nits. #

Total comments: 1

Patch Set 5 : One more style nit fixed. #

Patch Set 6 : arg. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+224 lines, -107 lines) Patch
M chrome/browser/policy/device_status_collector.h View 1 2 2 chunks +12 lines, -5 lines 0 comments Download
M chrome/browser/policy/device_status_collector.cc View 1 2 3 4 5 6 chunks +105 lines, -68 lines 0 comments Download
M chrome/browser/policy/device_status_collector_unittest.cc View 1 2 3 10 chunks +92 lines, -32 lines 0 comments Download
M chrome/browser/policy/proto/device_management_backend.proto View 1 2 2 chunks +10 lines, -2 lines 0 comments Download
M chrome/common/pref_names.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/pref_names.cc View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
Patrick Dubroy
Bin & Zhen: Here's my CL to aggregate device usage data on the client side. ...
8 years, 10 months ago (2012-02-14 21:34:03 UTC) #1
zhen_google.com
Looks all right. Could user move clock further back than 2 days? const unsigned int ...
8 years, 10 months ago (2012-02-14 22:30:12 UTC) #2
Patrick Dubroy
Mattias, can you please review?
8 years, 10 months ago (2012-02-15 13:48:33 UTC) #3
Mattias Nissler (ping if slow)
Mostly good, but a number of nits to fix. https://chromiumcodereview.appspot.com/9348105/diff/3001/chrome/browser/chromeos/device_settings_provider.cc File chrome/browser/chromeos/device_settings_provider.cc (right): https://chromiumcodereview.appspot.com/9348105/diff/3001/chrome/browser/chromeos/device_settings_provider.cc#newcode435 chrome/browser/chromeos/device_settings_provider.cc:435: ...
8 years, 10 months ago (2012-02-15 14:56:21 UTC) #4
Patrick Dubroy
http://codereview.chromium.org/9348105/diff/3001/chrome/browser/chromeos/device_settings_provider.cc File chrome/browser/chromeos/device_settings_provider.cc (right): http://codereview.chromium.org/9348105/diff/3001/chrome/browser/chromeos/device_settings_provider.cc#newcode435 chrome/browser/chromeos/device_settings_provider.cc:435: // to notify the user has been implemented (http://crosbug.com/26252). ...
8 years, 10 months ago (2012-02-15 15:37:24 UTC) #5
Mattias Nissler (ping if slow)
more nits http://codereview.chromium.org/9348105/diff/3004/chrome/browser/policy/device_status_collector.cc File chrome/browser/policy/device_status_collector.cc (right): http://codereview.chromium.org/9348105/diff/3004/chrome/browser/policy/device_status_collector.cc#newcode35 chrome/browser/policy/device_status_collector.cc:35: const char* const kPrefDeviceActivityTimes = "device_status.activity_times"; This ...
8 years, 10 months ago (2012-02-15 16:14:47 UTC) #6
Patrick Dubroy
http://codereview.chromium.org/9348105/diff/3004/chrome/browser/policy/device_status_collector.cc File chrome/browser/policy/device_status_collector.cc (right): http://codereview.chromium.org/9348105/diff/3004/chrome/browser/policy/device_status_collector.cc#newcode35 chrome/browser/policy/device_status_collector.cc:35: const char* const kPrefDeviceActivityTimes = "device_status.activity_times"; On 2012/02/15 16:14:47, ...
8 years, 10 months ago (2012-02-16 09:56:30 UTC) #7
Mattias Nissler (ping if slow)
LGTM! http://codereview.chromium.org/9348105/diff/11001/chrome/browser/policy/device_status_collector.cc File chrome/browser/policy/device_status_collector.cc (right): http://codereview.chromium.org/9348105/diff/11001/chrome/browser/policy/device_status_collector.cc#newcode104 chrome/browser/policy/device_status_collector.cc:104: prefs::kDeviceActivityTimes, new DictionaryValue); style nit: I think you ...
8 years, 10 months ago (2012-02-16 10:06:43 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dubroy@chromium.org/9348105/11006
8 years, 10 months ago (2012-02-16 14:40:22 UTC) #9
commit-bot: I haz the power
8 years, 10 months ago (2012-02-16 16:33:41 UTC) #10
Change committed as 122299

Powered by Google App Engine
This is Rietveld 408576698