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 "chrome/browser/sync/profile_sync_service.h" | |
6 #include "chrome/browser/sync/test/integration/profile_sync_service_harness.h" | 5 #include "chrome/browser/sync/test/integration/profile_sync_service_harness.h" |
7 #include "chrome/browser/sync/test/integration/sync_test.h" | 6 #include "chrome/browser/sync/test/integration/sync_test.h" |
| 7 #include "components/browser_sync/browser/profile_sync_service.h" |
8 #include "sync/internal_api/public/base/model_type.h" | 8 #include "sync/internal_api/public/base/model_type.h" |
9 #include "sync/internal_api/public/read_node.h" | 9 #include "sync/internal_api/public/read_node.h" |
10 #include "sync/internal_api/public/read_transaction.h" | 10 #include "sync/internal_api/public/read_transaction.h" |
11 | 11 |
12 // This file contains tests that exercise enabling and disabling data | 12 // This file contains tests that exercise enabling and disabling data |
13 // types. | 13 // types. |
14 | 14 |
15 namespace { | 15 namespace { |
16 | 16 |
17 class EnableDisableSingleClientTest : public SyncTest { | 17 class EnableDisableSingleClientTest : public SyncTest { |
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
156 ASSERT_EQ(GetClient(0)->IsTypePreferred(syncer::TYPED_URLS), | 156 ASSERT_EQ(GetClient(0)->IsTypePreferred(syncer::TYPED_URLS), |
157 DoesTopLevelNodeExist(user_share, syncer::SESSIONS)); | 157 DoesTopLevelNodeExist(user_share, syncer::SESSIONS)); |
158 } else if (it.Get() == syncer::PREFERENCES) { | 158 } else if (it.Get() == syncer::PREFERENCES) { |
159 ASSERT_FALSE(DoesTopLevelNodeExist(user_share, | 159 ASSERT_FALSE(DoesTopLevelNodeExist(user_share, |
160 syncer::PRIORITY_PREFERENCES)); | 160 syncer::PRIORITY_PREFERENCES)); |
161 } | 161 } |
162 } | 162 } |
163 } | 163 } |
164 | 164 |
165 } // namespace | 165 } // namespace |
OLD | NEW |