chromium/services/device/vibration/vibration_manager_impl.cc

// Copyright 2014 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "services/device/vibration/vibration_manager_impl.h"

#include <utility>

#include "mojo/public/cpp/bindings/pending_remote.h"
#include "mojo/public/cpp/bindings/remote.h"
#include "mojo/public/cpp/bindings/self_owned_receiver.h"

namespace device {

int64_t VibrationManagerImpl::milli_seconds_for_testing_ =;
bool VibrationManagerImpl::cancelled_for_testing_ =;

VibrationManagerImpl::VibrationManagerImpl(
    mojo::PendingRemote<mojom::VibrationManagerListener> listener) {}
VibrationManagerImpl::~VibrationManagerImpl() = default;

void VibrationManagerImpl::Vibrate(int64_t milliseconds,
                                   VibrateCallback callback) {}

void VibrationManagerImpl::Cancel(CancelCallback callback) {}

void VibrationManagerImpl::PlatformVibrate(int64_t milliseconds) {}
void VibrationManagerImpl::PlatformCancel() {}

// static

void VibrationManagerImpl::Create(
    mojo::PendingReceiver<mojom::VibrationManager> receiver,
    mojo::PendingRemote<mojom::VibrationManagerListener> listener) {}

}  // namespace device