DescriptionMake DBusStatistics only run on the main thread and add additional CHECKs to ensure thread safety.
Calls from other threads will be ignored. Currently the only DBus calls from other threads are for Geolocation. Supporting statistics gathering across multiple threads is unnecessary overhead that we don't currently need.
BUG=168134
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=175706
Patch Set 1 #Patch Set 2 : Call AddStat on origin thread #Patch Set 3 : Make origin_message)loop_proxy_ optional for tests #Patch Set 4 : Rebase #Patch Set 5 : Additional CHECK #
Total comments: 7
Patch Set 6 : Address nit #Patch Set 7 : Simpler, test friendly version. #
Total comments: 8
Patch Set 8 : CHECK -> DCHECK #Messages
Total messages: 10 (0 generated)
|