blob: 0b5b3077f8dd644ff508f3e67aee41ba3e8655e8 [file] [log] [blame]
[email protected]99e652f2012-01-22 04:05:071// Copyright (c) 2012 The Chromium Authors. All rights reserved.
[email protected]33392292011-01-05 17:56:392// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
maxbogue26f40222016-09-16 20:22:185#include "components/browser_sync/profile_sync_service_mock.h"
[email protected]b27275a2014-06-18 10:03:076
vabr596777d2015-12-09 15:54:047#include <utility>
[email protected]33392292011-01-05 17:56:398
maxbogue0a379452016-09-22 21:35:059namespace browser_sync {
10
vabr596777d2015-12-09 15:54:0411ProfileSyncServiceMock::ProfileSyncServiceMock(InitParams init_params)
Marc Treib310b4ff2018-06-28 09:50:5612 : ProfileSyncService(std::move(init_params)) {}
[email protected]d85f0ac42014-07-22 00:36:2013
vabr596777d2015-12-09 15:54:0414ProfileSyncServiceMock::ProfileSyncServiceMock(InitParams* init_params)
15 : ProfileSyncServiceMock(std::move(*init_params)) {}
[email protected]6a108f82011-12-02 05:25:3816
vabr596777d2015-12-09 15:54:0417ProfileSyncServiceMock::~ProfileSyncServiceMock() {}
maxbogue0a379452016-09-22 21:35:0518
sath0f513242017-03-29 19:57:0919sync_sessions::OpenTabsUIDelegate*
20ProfileSyncServiceMock::GetOpenTabsUIDelegate() {
21 sync_sessions::OpenTabsUIDelegate* mock_delegate =
22 GetOpenTabsUIDelegateMock();
23 return mock_delegate ? mock_delegate
24 : ProfileSyncService::GetOpenTabsUIDelegate();
25}
26
David Rogerf61bb392018-02-13 09:00:2727std::unique_ptr<syncer::SyncSetupInProgressHandle>
28ProfileSyncServiceMock::GetSetupInProgressHandleConcrete() {
29 return browser_sync::ProfileSyncService::GetSetupInProgressHandle();
30}
31
maxbogue0a379452016-09-22 21:35:0532} // namespace browser_sync