chromium/extensions/browser/api/idle/idle_api.cc

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

#include "extensions/browser/api/idle/idle_api.h"

#include "base/values.h"
#include "extensions/browser/api/idle/idle_api_constants.h"
#include "extensions/browser/api/idle/idle_manager.h"
#include "extensions/browser/api/idle/idle_manager_factory.h"

namespace extensions {

namespace {

// In seconds. Set >1 sec for security concerns.
const int kMinThreshold =;

// Four hours, in seconds. Not set arbitrarily high for security concerns.
const int kMaxThreshold =;

int ClampThreshold(int threshold) {}

}  // namespace

IdleQueryStateFunction::~IdleQueryStateFunction() = default;

ExtensionFunction::ResponseAction IdleQueryStateFunction::Run() {}

void IdleQueryStateFunction::IdleStateCallback(ui::IdleState state) {}

IdleSetDetectionIntervalFunction::~IdleSetDetectionIntervalFunction() = default;

ExtensionFunction::ResponseAction IdleSetDetectionIntervalFunction::Run() {}

IdleGetAutoLockDelayFunction::~IdleGetAutoLockDelayFunction() = default;

ExtensionFunction::ResponseAction IdleGetAutoLockDelayFunction::Run() {}
}  // namespace extensions