summaryrefslogtreecommitdiffstats
path: root/sync/engine/syncer_proto_util_unittest.cc
diff options
context:
space:
mode:
authorrlarocque@chromium.org <rlarocque@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-21 22:14:35 +0000
committerrlarocque@chromium.org <rlarocque@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-21 22:14:35 +0000
commiteb370fc0fba62ea44db5c35514fb3223523928cc (patch)
tree314febd8e19760c68cd7a20c1fd95bc5a26c1f97 /sync/engine/syncer_proto_util_unittest.cc
parent560b54e7a49100618417e59a0f1589c864816b6a (diff)
downloadchromium_src-eb370fc0fba62ea44db5c35514fb3223523928cc.zip
chromium_src-eb370fc0fba62ea44db5c35514fb3223523928cc.tar.gz
chromium_src-eb370fc0fba62ea44db5c35514fb3223523928cc.tar.bz2
sync: Expose ProtocolEvents on ProfileSyncService
Adds code to the sync engine to have it generate protocol events when it contacts the server. These events are then sent through the SyncSession, SyncManager, SyncBackendHostCore, SyncBackendHost, and finally to the ProfileSyncService. Objects on the UI thread can register with the ProfileSyncService as observers of these events, though this CL does not introduce any of these listeners. BUG=349301 Review URL: https://codereview.chromium.org/203463005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@258685 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'sync/engine/syncer_proto_util_unittest.cc')
-rw-r--r--sync/engine/syncer_proto_util_unittest.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/sync/engine/syncer_proto_util_unittest.cc b/sync/engine/syncer_proto_util_unittest.cc
index d43b350..93f9088 100644
--- a/sync/engine/syncer_proto_util_unittest.cc
+++ b/sync/engine/syncer_proto_util_unittest.cc
@@ -39,13 +39,11 @@ class MockDelegate : public sessions::SyncSession::Delegate {
MockDelegate() {}
~MockDelegate() {}
- MOCK_METHOD0(IsSyncingCurrentlySilenced, bool());
MOCK_METHOD1(OnReceivedShortPollIntervalUpdate, void(const base::TimeDelta&));
MOCK_METHOD1(OnReceivedLongPollIntervalUpdate ,void(const base::TimeDelta&));
MOCK_METHOD1(OnReceivedSessionsCommitDelay, void(const base::TimeDelta&));
MOCK_METHOD1(OnReceivedClientInvalidationHintBufferSize, void(int));
MOCK_METHOD1(OnSyncProtocolError, void(const SyncProtocolError&));
- MOCK_METHOD1(OnSilencedUntil, void(const base::TimeTicks&));
};
// Builds a ClientToServerResponse with some data type ids, including