#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 {
const int kMinThreshold = …;
const int kMaxThreshold = …;
int ClampThreshold(int threshold) { … }
}
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() { … }
}