| OLD | NEW |
| 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 Loading... |
| 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 |
| OLD | NEW |