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

Side by Side Diff: chrome/browser/sync/test/integration/enable_disable_test.cc

Issue 2407163004: [Sync] Move some directory-related things from core/ to syncable/. (Closed)
Patch Set: Created 4 years, 2 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
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 "base/macros.h" 5 #include "base/macros.h"
6 #include "chrome/browser/sync/test/integration/profile_sync_service_harness.h" 6 #include "chrome/browser/sync/test/integration/profile_sync_service_harness.h"
7 #include "chrome/browser/sync/test/integration/sync_test.h" 7 #include "chrome/browser/sync/test/integration/sync_test.h"
8 #include "components/browser_sync/profile_sync_service.h" 8 #include "components/browser_sync/profile_sync_service.h"
9 #include "components/sync/base/model_type.h" 9 #include "components/sync/base/model_type.h"
10 #include "components/sync/core/read_node.h" 10 #include "components/sync/syncable/read_node.h"
11 #include "components/sync/core/read_transaction.h" 11 #include "components/sync/syncable/read_transaction.h"
12 12
13 // This file contains tests that exercise enabling and disabling data 13 // This file contains tests that exercise enabling and disabling data
14 // types. 14 // types.
15 15
16 namespace { 16 namespace {
17 17
18 class EnableDisableSingleClientTest : public SyncTest { 18 class EnableDisableSingleClientTest : public SyncTest {
19 public: 19 public:
20 EnableDisableSingleClientTest() : SyncTest(SINGLE_CLIENT) {} 20 EnableDisableSingleClientTest() : SyncTest(SINGLE_CLIENT) {}
21 ~EnableDisableSingleClientTest() override {} 21 ~EnableDisableSingleClientTest() override {}
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 ASSERT_EQ(GetClient(0)->IsTypePreferred(syncer::TYPED_URLS), 157 ASSERT_EQ(GetClient(0)->IsTypePreferred(syncer::TYPED_URLS),
158 DoesTopLevelNodeExist(user_share, syncer::SESSIONS)); 158 DoesTopLevelNodeExist(user_share, syncer::SESSIONS));
159 } else if (it.Get() == syncer::PREFERENCES) { 159 } else if (it.Get() == syncer::PREFERENCES) {
160 ASSERT_FALSE(DoesTopLevelNodeExist(user_share, 160 ASSERT_FALSE(DoesTopLevelNodeExist(user_share,
161 syncer::PRIORITY_PREFERENCES)); 161 syncer::PRIORITY_PREFERENCES));
162 } 162 }
163 } 163 }
164 } 164 }
165 165
166 } // namespace 166 } // namespace
OLDNEW
« no previous file with comments | « chrome/browser/sync/profile_sync_service_android.cc ('k') | components/browser_sync/abstract_profile_sync_service_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698