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

Side by Side Diff: components/browser_sync/abstract_profile_sync_service_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 "components/browser_sync/abstract_profile_sync_service_test.h" 5 #include "components/browser_sync/abstract_profile_sync_service_test.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/bind_helpers.h" 10 #include "base/bind_helpers.h"
11 #include "base/files/file_path.h" 11 #include "base/files/file_path.h"
12 #include "base/location.h" 12 #include "base/location.h"
13 #include "base/memory/ptr_util.h" 13 #include "base/memory/ptr_util.h"
14 #include "base/run_loop.h" 14 #include "base/run_loop.h"
15 #include "components/browser_sync/test_http_bridge_factory.h" 15 #include "components/browser_sync/test_http_bridge_factory.h"
16 #include "components/browser_sync/test_profile_sync_service.h" 16 #include "components/browser_sync/test_profile_sync_service.h"
17 #include "components/sync/core/test/sync_manager_factory_for_profile_sync_test.h " 17 #include "components/sync/core/test/sync_manager_factory_for_profile_sync_test.h "
18 #include "components/sync/core/test/test_internal_components_factory.h" 18 #include "components/sync/core/test/test_internal_components_factory.h"
19 #include "components/sync/core/test/test_user_share.h"
20 #include "components/sync/driver/glue/sync_backend_host_core.h" 19 #include "components/sync/driver/glue/sync_backend_host_core.h"
21 #include "components/sync/driver/sync_api_component_factory_mock.h" 20 #include "components/sync/driver/sync_api_component_factory_mock.h"
22 #include "components/sync/protocol/sync.pb.h" 21 #include "components/sync/protocol/sync.pb.h"
22 #include "components/sync/syncable/test_user_share.h"
23 #include "google_apis/gaia/gaia_constants.h" 23 #include "google_apis/gaia/gaia_constants.h"
24 24
25 using syncer::SyncBackendHostImpl; 25 using syncer::SyncBackendHostImpl;
26 using syncer::ModelType; 26 using syncer::ModelType;
27 using testing::_; 27 using testing::_;
28 using testing::Return; 28 using testing::Return;
29 29
30 namespace browser_sync { 30 namespace browser_sync {
31 31
32 namespace { 32 namespace {
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after
230 230
231 bool CreateRootHelper::success() { 231 bool CreateRootHelper::success() {
232 return success_; 232 return success_;
233 } 233 }
234 234
235 void CreateRootHelper::CreateRootCallback() { 235 void CreateRootHelper::CreateRootCallback() {
236 success_ = test_->CreateRoot(model_type_); 236 success_ = test_->CreateRoot(model_type_);
237 } 237 }
238 238
239 } // namespace browser_sync 239 } // namespace browser_sync
OLDNEW
« no previous file with comments | « components/browser_sync/abstract_profile_sync_service_test.h ('k') | components/browser_sync/profile_sync_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698