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/test/integration/sync_test.h" | 5 #include "chrome/browser/sync/test/integration/sync_test.h" |
6 | 6 |
7 #include "chrome/browser/sync/internal_api/read_node.h" | |
8 #include "chrome/browser/sync/internal_api/read_transaction.h" | |
9 #include "chrome/browser/sync/profile_sync_service_harness.h" | 7 #include "chrome/browser/sync/profile_sync_service_harness.h" |
| 8 #include "sync/internal_api/read_node.h" |
| 9 #include "sync/internal_api/read_transaction.h" |
10 #include "sync/syncable/model_type.h" | 10 #include "sync/syncable/model_type.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 EnableDisableTest : public SyncTest { | 17 class EnableDisableTest : public SyncTest { |
18 public: | 18 public: |
19 explicit EnableDisableTest(TestType test_type) : SyncTest(test_type) {} | 19 explicit EnableDisableTest(TestType test_type) : SyncTest(test_type) {} |
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
115 if (it.Get() == syncable::AUTOFILL) { | 115 if (it.Get() == syncable::AUTOFILL) { |
116 ASSERT_FALSE(DoesTopLevelNodeExist(user_share, | 116 ASSERT_FALSE(DoesTopLevelNodeExist(user_share, |
117 syncable::AUTOFILL_PROFILE)); | 117 syncable::AUTOFILL_PROFILE)); |
118 } | 118 } |
119 } | 119 } |
120 | 120 |
121 EnableNotifications(); | 121 EnableNotifications(); |
122 } | 122 } |
123 | 123 |
124 } // namespace | 124 } // namespace |
OLD | NEW |