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

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

Issue 7399016: More trivial cleanupi of ppapi/c headers (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 5 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
« no previous file with comments | « ppapi/c/pp_size.h ('k') | ppapi/c/pp_var.h » ('j') | 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) 2011 The Chromium Authors. All rights reserved. 1 /* Copyright (c) 2011 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
6 /* From pp_time.idl modified Tue Jul 5 16:02:03 2011. */
7
5 #ifndef PPAPI_C_PP_TIME_H_ 8 #ifndef PPAPI_C_PP_TIME_H_
6 #define PPAPI_C_PP_TIME_H_ 9 #define PPAPI_C_PP_TIME_H_
7 10
11 #include "ppapi/c/pp_macros.h"
12 #include "ppapi/c/pp_stdint.h"
13
8 /** 14 /**
9 * @file 15 * @file
10 * This file defines time and time ticks types. 16 * This file defines time and time ticks types.
11 */ 17 */
12 18
13 #include "ppapi/c/pp_macros.h"
14 19
15 /** 20 /**
16 * @addtogroup Typedefs 21 * @addtogroup Typedefs
17 * @{ 22 * @{
18 */ 23 */
19 /** 24 /**
20 * The <code>PP_Time</code> type represents the "wall clock time" according 25 * The <code>PP_Time</code> type represents the "wall clock time" according
21 * to the browser and is defined as the number of seconds since the Epoch 26 * to the browser and is defined as the number of seconds since the Epoch
22 * (00:00:00 UTC, January 1, 1970). 27 * (00:00:00 UTC, January 1, 1970).
23 */ 28 */
24 typedef double PP_Time; 29 typedef double PP_Time;
25 PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_Time, 8); 30 PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_Time, 8);
26 /**
27 * @}
28 */
29 31
30 /** 32 /**
31 * @addtogroup Typedefs
32 * @{
33 */
34 /**
35 * A <code>PP_TimeTicks</code> value represents time ticks which are measured 33 * A <code>PP_TimeTicks</code> value represents time ticks which are measured
36 * in seconds and are used for indicating the time that certain messages were 34 * in seconds and are used for indicating the time that certain messages were
37 * received. In contrast to <code>PP_Time</code>, <code>PP_TimeTicks</code> 35 * received. In contrast to <code>PP_Time</code>, <code>PP_TimeTicks</code>
38 * does not correspond to any actual wall clock time and will not change 36 * does not correspond to any actual wall clock time and will not change
39 * discontinuously if the user changes their computer clock. 37 * discontinuously if the user changes their computer clock.
40 * 38 *
41 * The units are in seconds, but are not measured relative to any particular 39 * 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. 40 * epoch, so the most you can do is compare two values.
43 */ 41 */
44 typedef double PP_TimeTicks; 42 typedef double PP_TimeTicks;
45 PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_TimeTicks, 8); 43 PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_TimeTicks, 8);
46 /** 44 /**
47 * @} 45 * @}
48 */ 46 */
49 47
50 #endif /* PPAPI_C_PP_TIME_H_ */ 48 #endif /* PPAPI_C_PP_TIME_H_ */
51 49
OLDNEW
« no previous file with comments | « ppapi/c/pp_size.h ('k') | ppapi/c/pp_var.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698