| Index: sync/test/engine/mock_connection_manager.cc
|
| diff --git a/sync/test/engine/mock_connection_manager.cc b/sync/test/engine/mock_connection_manager.cc
|
| index 42e3ec779c741f7710d94e92fa78f89304f8edb9..a82ac6343621d3349801e2388b68e19bf0c943e6 100644
|
| --- a/sync/test/engine/mock_connection_manager.cc
|
| +++ b/sync/test/engine/mock_connection_manager.cc
|
| @@ -48,7 +48,6 @@ MockConnectionManager::MockConnectionManager(syncable::Directory* directory,
|
| mid_commit_observer_(NULL),
|
| throttling_(false),
|
| partialThrottling_(false),
|
| - fail_with_auth_invalid_(false),
|
| fail_non_periodic_get_updates_(false),
|
| next_position_in_parent_(2),
|
| use_legacy_bookmarks_protocol_(false),
|
| @@ -76,9 +75,8 @@ void MockConnectionManager::SetMidCommitObserver(
|
| }
|
|
|
| bool MockConnectionManager::PostBufferToPath(PostBufferParams* params,
|
| - const string& path,
|
| - const string& auth_token,
|
| - ScopedServerStatusWatcher* watcher) {
|
| + const string& path,
|
| + const string& auth_token) {
|
| ClientToServerMessage post;
|
| CHECK(post.ParseFromString(params->buffer_in));
|
| CHECK(post.has_protocol_version());
|
| @@ -171,9 +169,6 @@ bool MockConnectionManager::PostBufferToPath(PostBufferParams* params,
|
| }
|
| partialThrottling_ = false;
|
| }
|
| -
|
| - if (fail_with_auth_invalid_)
|
| - response.set_error_code(SyncEnums::AUTH_INVALID);
|
| }
|
|
|
| response.SerializeToString(¶ms->buffer_out);
|
|
|