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

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

Issue 7605019: Reduce number of unnamed-type-template-args violations. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 4 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
« net/proxy/proxy_config.h ('K') | « net/proxy/proxy_service.cc ('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) 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 5
6 /* From pp_errors.idl modified Sat Jul 16 16:50:26 2011. */ 6 /* From pp_errors.idl modified Sat Jul 16 16:50:26 2011. */
7 7
8 #ifndef PPAPI_C_PP_ERRORS_H_ 8 #ifndef PPAPI_C_PP_ERRORS_H_
9 #define PPAPI_C_PP_ERRORS_H_ 9 #define PPAPI_C_PP_ERRORS_H_
10 10
11 #include "ppapi/c/pp_macros.h" 11 #include "ppapi/c/pp_macros.h"
12 12
13 /** 13 /**
14 * @file 14 * @file
15 * This file defines an enumeration of all PPAPI error codes. 15 * This file defines an enumeration of all PPAPI error codes.
16 */ 16 */
17 17
18 18
19 /** 19 /**
20 * @addtogroup Enums 20 * @addtogroup Enums
21 * @{ 21 * @{
22 */ 22 */
23 /** 23 /**
24 * This enumeration contains enumerators of all PPAPI error codes. 24 * This enumeration contains enumerators of all PPAPI error codes.
25 * Errors are negative valued. 25 * Errors are negative valued.
26 */ 26 */
27 enum { 27 enum ErrorCodes {
brettw 2011/08/21 05:37:03 This isn't in any namespace so I don't think we wa
Peter Kasting 2011/08/22 03:56:41 Oof. Honestly that seems bad. Can't you namespac
brettw 2011/08/22 04:11:08 This is the public Pepper API which must be compil
28 /** 28 /**
29 * This value is returned by a function on successful synchronous completion 29 * This value is returned by a function on successful synchronous completion
30 * or is passed as a result to a PP_CompletionCallback_Func on successful 30 * or is passed as a result to a PP_CompletionCallback_Func on successful
31 * asynchronous completion. 31 * asynchronous completion.
32 */ 32 */
33 PP_OK = 0, 33 PP_OK = 0,
34 /** 34 /**
35 * This value is returned by a function that accepts a PP_CompletionCallback 35 * This value is returned by a function that accepts a PP_CompletionCallback
36 * and cannot complete synchronously. This code indicates that the given 36 * and cannot complete synchronously. This code indicates that the given
37 * callback will be asynchronously notified of the final result once it is 37 * callback will be asynchronously notified of the final result once it is
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 * expected input. 86 * expected input.
87 */ 87 */
88 PP_ERROR_USERCANCEL = -40 88 PP_ERROR_USERCANCEL = -40
89 }; 89 };
90 /** 90 /**
91 * @} 91 * @}
92 */ 92 */
93 93
94 #endif /* PPAPI_C_PP_ERRORS_H_ */ 94 #endif /* PPAPI_C_PP_ERRORS_H_ */
95 95
OLDNEW
« net/proxy/proxy_config.h ('K') | « net/proxy/proxy_service.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698