diff options
author | lipalani@chromium.org <lipalani@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-15 19:13:48 +0000 |
---|---|---|
committer | lipalani@chromium.org <lipalani@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-15 19:13:48 +0000 |
commit | 201e5a4b694913138a5f4acda8b0e5a9d166d8c8 (patch) | |
tree | d7d977f4d03bb53cfb070e2e4b972085d241ae81 /chrome/browser/sync/sessions/status_controller.h | |
parent | 241109b52c26585ba262e95f7f07fda23307cc27 (diff) | |
download | chromium_src-201e5a4b694913138a5f4acda8b0e5a9d166d8c8.zip chromium_src-201e5a4b694913138a5f4acda8b0e5a9d166d8c8.tar.gz chromium_src-201e5a4b694913138a5f4acda8b0e5a9d166d8c8.tar.bz2 |
Revert 105667 - Send important client side event information to the server. We create a class called DebugInfoEventListener which implements 2 interfaces. one being the syncmanager::observer to observe events from syncmanager.
The other being DebugInfoGetter so that syncer can call this class to give the debug information in protobuf format.
The implementation of this class uses a queue. And it limits the number of events to 6. if more than 6 events are in the queue we delete the oldest event.
Also we send this information to the server only once per sync cycle during the first getudpdates command.
also includes the unit test.
BUG=100058
TEST=
Review URL: http://codereview.chromium.org/8189003
TBR=lipalani@chromium.org
Review URL: http://codereview.chromium.org/8313002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105680 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/sync/sessions/status_controller.h')
-rw-r--r-- | chrome/browser/sync/sessions/status_controller.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/chrome/browser/sync/sessions/status_controller.h b/chrome/browser/sync/sessions/status_controller.h index ec1437d..a12bee8 100644 --- a/chrome/browser/sync/sessions/status_controller.h +++ b/chrome/browser/sync/sessions/status_controller.h @@ -239,10 +239,6 @@ class StatusController { void SetSyncInProgressAndUpdateStartTime(bool sync_in_progress); - void set_debug_info_sent(); - - bool debug_info_sent(); - private: friend class ScopedModelSafeGroupRestriction; |