diff options
Diffstat (limited to 'chrome/browser/sync/sessions/session_state_unittest.cc')
-rw-r--r-- | chrome/browser/sync/sessions/session_state_unittest.cc | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/chrome/browser/sync/sessions/session_state_unittest.cc b/chrome/browser/sync/sessions/session_state_unittest.cc index 3220dd1..244ece8e 100644 --- a/chrome/browser/sync/sessions/session_state_unittest.cc +++ b/chrome/browser/sync/sessions/session_state_unittest.cc @@ -72,17 +72,11 @@ TEST_F(SessionStateTest, SyncerStatusToValue) { TEST_F(SessionStateTest, ErrorCountersToValue) { ErrorCounters counters; counters.num_conflicting_commits = 1; - counters.consecutive_transient_error_commits = 5; - counters.consecutive_errors = 3; scoped_ptr<DictionaryValue> value(counters.ToValue()); - EXPECT_EQ(3u, value->size()); + EXPECT_EQ(1u, value->size()); ExpectDictIntegerValue(counters.num_conflicting_commits, *value, "numConflictingCommits"); - ExpectDictIntegerValue(counters.consecutive_transient_error_commits, - *value, "consecutiveTransientErrorCommits"); - ExpectDictIntegerValue(counters.consecutive_errors, - *value, "consecutiveErrors"); } TEST_F(SessionStateTest, DownloadProgressMarkersToValue) { |