Use ExtensionRegistry::enabled_extensions instead of deprecated ExtensionService...
[chromium-blink-merge.git] / ppapi / api / pp_time.idl
blobfdcac59be40b790e698c09c4685612acc3c89180
1 /* Copyright (c) 2012 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.
4 */
6 /**
7 * This file defines time, time ticks and time delta types.
8 */
11 /**
12 * The <code>PP_Time</code> type represents the "wall clock time" according
13 * to the browser and is defined as the number of seconds since the Epoch
14 * (00:00:00 UTC, January 1, 1970).
16 [assert_size(8)]
17 typedef double_t PP_Time;
19 /**
20 * A <code>PP_TimeTicks</code> value represents time ticks which are measured
21 * in seconds and are used for indicating the time that certain messages were
22 * received. In contrast to <code>PP_Time</code>, <code>PP_TimeTicks</code>
23 * does not correspond to any actual wall clock time and will not change
24 * discontinuously if the user changes their computer clock.
26 * The units are in seconds, but are not measured relative to any particular
27 * epoch, so the most you can do is compare two values.
29 [assert_size(8)]
30 typedef double_t PP_TimeTicks;
32 /**
33 * A <code>PP_TimeDelta</code> value represents a duration of time which is
34 * measured in seconds.
36 [assert_size(8)]
37 typedef double_t PP_TimeDelta;