blob: 1f0efde5856db77721f3cc03bf5fd14bbc23d0e6 [file] [log] [blame]
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "components/browser_sync/profile_sync_service_mock.h"
#include <utility>
ProfileSyncServiceMock::ProfileSyncServiceMock(InitParams init_params)
: ProfileSyncService(std::move(init_params)) {
ON_CALL(*this, IsSyncRequested()).WillByDefault(testing::Return(true));
}
ProfileSyncServiceMock::ProfileSyncServiceMock(InitParams* init_params)
: ProfileSyncServiceMock(std::move(*init_params)) {}
ProfileSyncServiceMock::~ProfileSyncServiceMock() {}