Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(56)

Side by Side Diff: sync/sessions/status_controller_unittest.cc

Issue 10103017: Abort sync cycles when download step fails (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix unit test and remove ServerSaysNothingMoreToDownload() Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "sync/sessions/sync_session.h" 5 #include "sync/sessions/sync_session.h"
6 #include "sync/test/engine/test_id_factory.h" 6 #include "sync/test/engine/test_id_factory.h"
7 #include "testing/gtest/include/gtest/gtest.h" 7 #include "testing/gtest/include/gtest/gtest.h"
8 8
9 namespace browser_sync { 9 namespace browser_sync {
10 namespace sessions { 10 namespace sessions {
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
182 status.mutable_commit_message(); 182 status.mutable_commit_message();
183 status.commit_response(); 183 status.commit_response();
184 status.mutable_commit_response(); 184 status.mutable_commit_response();
185 status.updates_response(); 185 status.updates_response();
186 status.mutable_updates_response(); 186 status.mutable_updates_response();
187 status.error(); 187 status.error();
188 status.syncer_status(); 188 status.syncer_status();
189 status.num_server_changes_remaining(); 189 status.num_server_changes_remaining();
190 status.commit_ids(); 190 status.commit_ids();
191 status.HasBookmarkCommitActivity(); 191 status.HasBookmarkCommitActivity();
192 status.download_updates_succeeded();
193 status.ServerSaysNothingMoreToDownload();
194 status.group_restriction(); 192 status.group_restriction();
195 } 193 }
196 194
197 } // namespace sessions 195 } // namespace sessions
198 } // namespace browser_sync 196 } // namespace browser_sync
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698