Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(391)

Side by Side Diff: ppapi/c/pp_time.h

Issue 6312098: Updating documentation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« ppapi/c/pp_size.h ('K') | « ppapi/c/pp_size.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 /* Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 * Use of this source code is governed by a BSD-style license that can be 2 * Use of this source code is governed by a BSD-style license that can be
3 * found in the LICENSE file. 3 * found in the LICENSE file.
4 */ 4 */
5 #ifndef PPAPI_C_PP_TIME_H_ 5 #ifndef PPAPI_C_PP_TIME_H_
6 #define PPAPI_C_PP_TIME_H_ 6 #define PPAPI_C_PP_TIME_H_
7 7
8 /** 8 /**
9 * @file 9 * @file
10 * Defines the API ... 10 * This file defines time and time ticks types.
11 */ 11 */
12 12
13 #include "ppapi/c/pp_macros.h" 13 #include "ppapi/c/pp_macros.h"
14 14
15 /** 15 /**
16 * @addtogroup Typedefs 16 * @addtogroup Typedefs
17 * @{ 17 * @{
18 */ 18 */
19 /** 19 /**
20 * PP_Time represents the "wall clock time" according to the browser and is 20 * The PP_Time type represents the "wall clock time" according to the browser
21 * defined as the number of seconds since the Epoch (00:00:00 UTC, January 1, 21 * and is defined as the number of seconds since the Epoch (00:00:00 UTC,
22 * 1970). 22 * January 1, 1970).
23 */ 23 */
24 typedef double PP_Time; 24 typedef double PP_Time;
25 PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_Time, 8); 25 PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_Time, 8);
26 /** 26 /**
27 * @} 27 * @}
28 */ 28 */
29 29
30 /** 30 /**
31 * @addtogroup Typedefs 31 * @addtogroup Typedefs
32 * @{ 32 * @{
33 */ 33 */
34 /** 34 /**
35 * Represents time ticks which is measured in seconds and is used for indicating 35 * The PP_TimeTicks type represents time ticks which are measured in seconds
36 * the time that certain messages were received. In contrast to PP_Time, it 36 * and are used for indicating the time that certain messages were received.
37 * does not correspond to any actual wall clock time and will not change 37 * In contrast to PP_Time, PP_TimeTicks does not correspond to any actual
38 * discontinuously if the user changes their computer clock. 38 * wall clock time and will not change discontinuously if the user changes
39 * their computer clock.
39 * 40 *
40 * The units are in seconds, but are not measured relative to any particular 41 * The units are in seconds, but are not measured relative to any particular
41 * epoch, so the most you can do is compare two values. 42 * epoch, so the most you can do is compare two values.
42 */ 43 */
43 typedef double PP_TimeTicks; 44 typedef double PP_TimeTicks;
44 PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_TimeTicks, 8); 45 PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_TimeTicks, 8);
45 /** 46 /**
46 * @} 47 * @}
47 */ 48 */
48 49
49 #endif /* PPAPI_C_PP_TIME_H_ */ 50 #endif /* PPAPI_C_PP_TIME_H_ */
50 51
OLDNEW
« ppapi/c/pp_size.h ('K') | « ppapi/c/pp_size.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698