Chromium Code Reviews
DescriptionRefactored DeviceStatusCollector to enable truely asynchronous status queries
Combined GetDeviceStatusAsync and GetDeviceSessionStatusAsync into one function. They are always called together and combining them makes StatusGetter in status_uploader.h/cc unnecessary.
Added helper class to keep state for asynchronous status queries.
Disk volume info and CPU temp info are now collected asynchronously when status is requested. Before, the data was sampled regularly and only the last sample was used.
Removed unused geo location reporting code.
Deprecated device_location field in protobuf.
Changed thread-checking to use ThreadChecker class.
BUG=639372
Committed: https://crrev.com/6e4082c0fc2425bb6f040e29baae4362246ef93d
Cr-Commit-Position: refs/heads/master@{#421475}
Patch Set 1 #Patch Set 2 : Deprecated device_location protobuf field #Patch Set 3 : Rebase #
Total comments: 13
Patch Set 4 : Rebase and improved comments based on feedback #Patch Set 5 : Initialize *status_ in the C++11'y way #Messages
Total messages: 22 (14 generated)
|