blob: ef1bc5d65e411c94273d13efe5dcf444c54006d8 [file] [log] [blame]
// Copyright 2019 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 "chrome/browser/sharing/mock_sharing_service.h"
#include "chrome/browser/sharing/sharing_device_source.h"
#include "chrome/browser/sharing/sharing_fcm_handler.h"
#include "chrome/browser/sharing/sharing_fcm_sender.h"
#include "chrome/browser/sharing/sharing_handler_registry.h"
#include "chrome/browser/sharing/sharing_sync_preference.h"
#include "chrome/browser/sharing/vapid_key_manager.h"
#include "testing/gmock/include/gmock/gmock.h"
MockSharingService::MockSharingService()
: SharingService(
/*sync_prefs=*/nullptr,
/*vapid_key_manager=*/nullptr,
std::make_unique<SharingDeviceRegistration>(
/*pref_service=*/nullptr,
/*sharing_sync_preference=*/nullptr,
/*vapid_key_manager=*/nullptr,
/*instance_id_driver=*/nullptr,
/*sync_service=*/nullptr),
/*message_sender=*/nullptr,
/*device_source=*/nullptr,
/*handler_registry=*/nullptr,
std::make_unique<SharingFCMHandler>(/*gcm_driver=*/nullptr,
/*sharing_fcm_sender=*/nullptr,
/*sync_preference=*/nullptr,
/*handler_registry=*/nullptr),
/*sync_service*/ nullptr) {}
MockSharingService::~MockSharingService() = default;