chromium/media/base/user_input_monitor.cc

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

#include "media/base/user_input_monitor.h"

#include <utility>

#include "base/atomicops.h"
#include "base/logging.h"
#include "base/task/single_thread_task_runner.h"

namespace media {

uint32_t ReadKeyPressMonitorCount(
    const base::ReadOnlySharedMemoryMapping& readonly_mapping) {}

void WriteKeyPressMonitorCount(
    const base::WritableSharedMemoryMapping& writable_mapping,
    uint32_t count) {}

#ifdef DISABLE_USER_INPUT_MONITOR
// static
std::unique_ptr<UserInputMonitor> UserInputMonitor::Create(
    scoped_refptr<base::SingleThreadTaskRunner> io_task_runner,
    scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner) {
  return nullptr;
}
#endif  // DISABLE_USER_INPUT_MONITOR
UserInputMonitor::UserInputMonitor() = default;

UserInputMonitor::~UserInputMonitor() = default;

UserInputMonitorBase::UserInputMonitorBase() {}

UserInputMonitorBase::~UserInputMonitorBase() {}

void UserInputMonitorBase::EnableKeyPressMonitoring() {}

base::ReadOnlySharedMemoryRegion
UserInputMonitorBase::EnableKeyPressMonitoringWithMapping() {}

void UserInputMonitorBase::DisableKeyPressMonitoring() {}

}  // namespace media