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/profile_sync_service_harness.h" | |
8 #include "chrome/browser/sync/internal_api/read_node.h" | 7 #include "chrome/browser/sync/internal_api/read_node.h" |
9 #include "chrome/browser/sync/internal_api/read_transaction.h" | 8 #include "chrome/browser/sync/internal_api/read_transaction.h" |
10 #include "chrome/browser/sync/syncable/model_type.h" | 9 #include "chrome/browser/sync/profile_sync_service_harness.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) {} |
20 virtual ~EnableDisableTest() {} | 20 virtual ~EnableDisableTest() {} |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
114 if (it.Get() == syncable::AUTOFILL) { | 114 if (it.Get() == syncable::AUTOFILL) { |
115 ASSERT_FALSE(DoesTopLevelNodeExist(user_share, | 115 ASSERT_FALSE(DoesTopLevelNodeExist(user_share, |
116 syncable::AUTOFILL_PROFILE)); | 116 syncable::AUTOFILL_PROFILE)); |
117 } | 117 } |
118 } | 118 } |
119 | 119 |
120 EnableNotifications(); | 120 EnableNotifications(); |
121 } | 121 } |
122 | 122 |
123 } // namespace | 123 } // namespace |
OLD | NEW |