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

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

Issue 10933075: FYI: Remove PerModelSafeGroupState + move ConflictResolution (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 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
« no previous file with comments | « sync/sessions/session_state.cc ('k') | sync/sessions/status_controller.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/session_state.h"
6
7 #include <string> 5 #include <string>
8 6
7 // FIXME: Rename these tests.
9 #include "base/base64.h" 8 #include "base/base64.h"
10 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
11 #include "base/test/values_test_util.h" 10 #include "base/test/values_test_util.h"
12 #include "base/time.h" 11 #include "base/time.h"
13 #include "base/values.h" 12 #include "base/values.h"
14 #include "sync/internal_api/public/sessions/sync_session_snapshot.h" 13 #include "sync/internal_api/public/sessions/sync_session_snapshot.h"
15 #include "sync/internal_api/public/sessions/sync_source_info.h" 14 #include "sync/internal_api/public/sessions/sync_source_info.h"
16 #include "testing/gtest/include/gtest/gtest.h" 15 #include "testing/gtest/include/gtest/gtest.h"
17 16
18 namespace syncer { 17 namespace syncer {
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 "numSimpleConflicts"); 124 "numSimpleConflicts");
126 ExpectDictIntegerValue(kNumServerConflicts, *value, 125 ExpectDictIntegerValue(kNumServerConflicts, *value,
127 "numServerConflicts"); 126 "numServerConflicts");
128 ExpectDictDictionaryValue(*expected_source_value, *value, "source"); 127 ExpectDictDictionaryValue(*expected_source_value, *value, "source");
129 ExpectDictBooleanValue(false, *value, "notificationsEnabled"); 128 ExpectDictBooleanValue(false, *value, "notificationsEnabled");
130 } 129 }
131 130
132 } // namespace 131 } // namespace
133 } // namespace sessions 132 } // namespace sessions
134 } // namespace syncer 133 } // namespace syncer
OLDNEW
« no previous file with comments | « sync/sessions/session_state.cc ('k') | sync/sessions/status_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698