summaryrefslogtreecommitdiffstats
path: root/chrome/test/sync
diff options
context:
space:
mode:
authoralbertb@chromium.org <albertb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-26 15:08:12 +0000
committeralbertb@chromium.org <albertb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-26 15:08:12 +0000
commit8a26854e8842101aba84364ff2cb35ec80a51e73 (patch)
treed1bfc914a8d2ee8b87a11285ff200d738dc7ec98 /chrome/test/sync
parent63ef3238923a628e3eb191e9ff1cdc4b2ee072af (diff)
downloadchromium_src-8a26854e8842101aba84364ff2cb35ec80a51e73.zip
chromium_src-8a26854e8842101aba84364ff2cb35ec80a51e73.tar.gz
chromium_src-8a26854e8842101aba84364ff2cb35ec80a51e73.tar.bz2
sync: Update sync.proto to match the server's and handle new error codes.
BUG=b/17777403 TEST=none Review URL: http://codereview.chromium.org/4017004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63893 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/sync')
-rw-r--r--chrome/test/sync/engine/mock_connection_manager.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/test/sync/engine/mock_connection_manager.cc b/chrome/test/sync/engine/mock_connection_manager.cc
index b22a8e1..ade90a6 100644
--- a/chrome/test/sync/engine/mock_connection_manager.cc
+++ b/chrome/test/sync/engine/mock_connection_manager.cc
@@ -105,6 +105,7 @@ bool MockConnectionManager::PostBufferToPath(const PostBufferParams* params,
// Default to an ok connection.
params->response->server_status = HttpResponse::SERVER_CONNECTION_OK;
+ response.set_error_code(ClientToServerResponse::SUCCESS);
const string current_store_birthday = store_birthday();
response.set_store_birthday(current_store_birthday);
if (post.has_store_birthday() && post.store_birthday() !=