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

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

Issue 7241024: Mostly minor changes such as adding <code></code> around elements, a little rewriting, and a few ... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 6 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
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 * This file defines time and time ticks types. 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 * The PP_Time type represents the "wall clock time" according to the browser 20 * The <code>PP_Time</code> type represents the "wall clock time" according
21 * and is defined as the number of seconds since the Epoch (00:00:00 UTC, 21 * to the browser and is defined as the number of seconds since the Epoch
22 * January 1, 1970). 22 * (00:00:00 UTC, 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 * A PP_TimeTicks value represents time ticks which are measured in seconds 35 * A <code>PP_TimeTicks</code> value represents time ticks which are measured
36 * and are used for indicating the time that certain messages were received. 36 * in seconds and are used for indicating the time that certain messages were
37 * In contrast to PP_Time, PP_TimeTicks does not correspond to any actual 37 * received. In contrast to <code>PP_Time</code>, <code>PP_TimeTicks</code>
38 * wall clock time and will not change discontinuously if the user changes 38 * does not correspond to any actual wall clock time and will not change
39 * their computer clock. 39 * discontinuously if the user changes their computer clock.
40 * 40 *
41 * 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
42 * epoch, so the most you can do is compare two values. 42 * epoch, so the most you can do is compare two values.
43 */ 43 */
44 typedef double PP_TimeTicks; 44 typedef double PP_TimeTicks;
45 PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_TimeTicks, 8); 45 PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_TimeTicks, 8);
46 /** 46 /**
47 * @} 47 * @}
48 */ 48 */
49 49
50 #endif /* PPAPI_C_PP_TIME_H_ */ 50 #endif /* PPAPI_C_PP_TIME_H_ */
51 51
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698