| 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/abstract_profile_sync_service_test.h" | 5 #include "components/browser_sync/browser/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/run_loop.h" | 13 #include "base/run_loop.h" |
| 14 #include "chrome/browser/sync/test/test_http_bridge_factory.h" | 14 #include "components/browser_sync/browser/test_http_bridge_factory.h" |
| 15 #include "chrome/browser/sync/test_profile_sync_service.h" | 15 #include "components/browser_sync/browser/test_profile_sync_service.h" |
| 16 #include "components/sync_driver/glue/sync_backend_host_core.h" | 16 #include "components/sync_driver/glue/sync_backend_host_core.h" |
| 17 #include "components/sync_driver/sync_api_component_factory_mock.h" | 17 #include "components/sync_driver/sync_api_component_factory_mock.h" |
| 18 #include "google_apis/gaia/gaia_constants.h" | 18 #include "google_apis/gaia/gaia_constants.h" |
| 19 #include "sync/internal_api/public/test/sync_manager_factory_for_profile_sync_te
st.h" | 19 #include "sync/internal_api/public/test/sync_manager_factory_for_profile_sync_te
st.h" |
| 20 #include "sync/internal_api/public/test/test_internal_components_factory.h" | 20 #include "sync/internal_api/public/test/test_internal_components_factory.h" |
| 21 #include "sync/internal_api/public/test/test_user_share.h" | 21 #include "sync/internal_api/public/test/test_user_share.h" |
| 22 #include "sync/protocol/sync.pb.h" | 22 #include "sync/protocol/sync.pb.h" |
| 23 | 23 |
| 24 using syncer::ModelType; | 24 using syncer::ModelType; |
| 25 using testing::_; | 25 using testing::_; |
| (...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 211 return callback_; | 211 return callback_; |
| 212 } | 212 } |
| 213 | 213 |
| 214 bool CreateRootHelper::success() { | 214 bool CreateRootHelper::success() { |
| 215 return success_; | 215 return success_; |
| 216 } | 216 } |
| 217 | 217 |
| 218 void CreateRootHelper::CreateRootCallback() { | 218 void CreateRootHelper::CreateRootCallback() { |
| 219 success_ = test_->CreateRoot(model_type_); | 219 success_ = test_->CreateRoot(model_type_); |
| 220 } | 220 } |
| OLD | NEW |