| 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/profile_sync_service_mock.h" | 5 #include "components/browser_sync/browser/profile_sync_service_mock.h" |
| 6 | 6 |
| 7 #include <utility> | 7 #include <utility> |
| 8 | 8 |
| 9 ProfileSyncServiceMock::ProfileSyncServiceMock(InitParams init_params) | 9 ProfileSyncServiceMock::ProfileSyncServiceMock(InitParams init_params) |
| 10 : ProfileSyncService(std::move(init_params)) { | 10 : ProfileSyncService(std::move(init_params)) { |
| 11 ON_CALL(*this, IsSyncRequested()).WillByDefault(testing::Return(true)); | 11 ON_CALL(*this, IsSyncRequested()).WillByDefault(testing::Return(true)); |
| 12 } | 12 } |
| 13 | 13 |
| 14 ProfileSyncServiceMock::ProfileSyncServiceMock(InitParams* init_params) | 14 ProfileSyncServiceMock::ProfileSyncServiceMock(InitParams* init_params) |
| 15 : ProfileSyncServiceMock(std::move(*init_params)) {} | 15 : ProfileSyncServiceMock(std::move(*init_params)) {} |
| 16 | 16 |
| 17 ProfileSyncServiceMock::~ProfileSyncServiceMock() {} | 17 ProfileSyncServiceMock::~ProfileSyncServiceMock() {} |
| OLD | NEW |