Remove PlatformFile from profile_browsertest
[chromium-blink-merge.git] / content / browser / device_orientation / inertial_sensor_consts.h
blob6a37fc82a4ebbeb7748e17d62ad7844a7101089c
1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CONTENT_BROWSER_DEVICE_ORIENTATION_INERTIAL_SENSOR_CONSTS_H_
6 #define CONTENT_BROWSER_DEVICE_ORIENTATION_INERTIAL_SENSOR_CONSTS_H_
8 namespace content {
10 // Constants related to the Device Motion/Device Orientation APIs.
12 enum ConsumerType {
13 CONSUMER_TYPE_MOTION = 1 << 0,
14 CONSUMER_TYPE_ORIENTATION = 1 << 1,
17 // Specifies the minimal interval between subsequent sensor data updates.
18 // Note that when changing this value it is desirable to have an adequate
19 // matching value |DeviceSensorEventPump::kDefaultPumpDelayMillis| in
20 // content/renderer/device_orientation/device_sensor_event_pump.cc.
21 const int kInertialSensorIntervalMillis = 50;
23 } // namespace content
25 #endif // CONTENT_BROWSER_DEVICE_ORIENTATION_INERTIAL_SENSOR_CONSTS_H_