summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjond@google.com <jond@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-13 18:52:22 +0000
committerjond@google.com <jond@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-13 18:52:22 +0000
commitacbb8b1db5e74ff4d038d2e12d619f5ae71dd120 (patch)
tree84e6cec57a1afd3c7e76db816debd5b0b579aa5c
parent725f688c5d44e0a3d02e8a0f87ee5fef9e328eb1 (diff)
downloadchromium_src-acbb8b1db5e74ff4d038d2e12d619f5ae71dd120.zip
chromium_src-acbb8b1db5e74ff4d038d2e12d619f5ae71dd120.tar.gz
chromium_src-acbb8b1db5e74ff4d038d2e12d619f5ae71dd120.tar.bz2
Fixed capitalization of error codes as per bug here:
http://code.google.com/p/nativeclient-sdk/issues/detail?id=125 Review URL: http://codereview.chromium.org/9190069 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117662 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--ppapi/api/ppb_file_io.idl2
-rw-r--r--ppapi/api/ppb_graphics_2d.idl6
-rw-r--r--ppapi/c/ppb_file_io.h4
-rw-r--r--ppapi/c/ppb_graphics_2d.h8
-rw-r--r--ppapi/cpp/file_io.h4
-rw-r--r--ppapi/cpp/graphics_2d.h8
6 files changed, 16 insertions, 16 deletions
diff --git a/ppapi/api/ppb_file_io.idl b/ppapi/api/ppb_file_io.idl
index a0bcb23..9661e49 100644
--- a/ppapi/api/ppb_file_io.idl
+++ b/ppapi/api/ppb_file_io.idl
@@ -230,7 +230,7 @@ interface PPB_FileIO {
/**
* Close() cancels any IO that may be pending, and closes the FileIO object.
* Any pending callbacks will still run, reporting
- * <code>PP_Error_Aborted</code> if pending IO was interrupted. It is not
+ * <code>PP_ERROR_ABORTED</code> if pending IO was interrupted. It is not
* valid to call Open() again after a call to this method.
* <strong>Note:</strong> If the FileIO object is destroyed, and it is still
* open, then it will be implicitly closed, so you are not required to call
diff --git a/ppapi/api/ppb_graphics_2d.idl b/ppapi/api/ppb_graphics_2d.idl
index 34c5aa6..7d60497 100644
--- a/ppapi/api/ppb_graphics_2d.idl
+++ b/ppapi/api/ppb_graphics_2d.idl
@@ -232,10 +232,10 @@ interface PPB_Graphics2D {
* the image has been painted on the screen.
*
* @return Returns <code>PP_OK</code> on success or
- * <code>PP_Error_BadResource</code> if the graphics context is invalid,
- * <code>PP_Error_BadArgument</code> if the callback is null and flush is
+ * <code>PP_ERROR_BADRESOURCE</code> if the graphics context is invalid,
+ * <code>PP_ERROR_BADARGUMENT</code> if the callback is null and flush is
* being called from the main thread of the module, or
- * <code>PP_Error_InProgress</code> if a flush is already pending that has
+ * <code>PP_ERROR_INPROGRESS</code> if a flush is already pending that has
* not issued its callback yet. In the failure case, nothing will be updated
* and no callback will be scheduled.
*/
diff --git a/ppapi/c/ppb_file_io.h b/ppapi/c/ppb_file_io.h
index b67c41e..51203dd 100644
--- a/ppapi/c/ppb_file_io.h
+++ b/ppapi/c/ppb_file_io.h
@@ -3,7 +3,7 @@
* found in the LICENSE file.
*/
-/* From ppb_file_io.idl modified Wed Dec 14 18:08:00 2011. */
+/* From ppb_file_io.idl modified Thu Jan 12 16:13:13 2012. */
#ifndef PPAPI_C_PPB_FILE_IO_H_
#define PPAPI_C_PPB_FILE_IO_H_
@@ -242,7 +242,7 @@ struct PPB_FileIO_1_0 {
/**
* Close() cancels any IO that may be pending, and closes the FileIO object.
* Any pending callbacks will still run, reporting
- * <code>PP_Error_Aborted</code> if pending IO was interrupted. It is not
+ * <code>PP_ERROR_ABORTED</code> if pending IO was interrupted. It is not
* valid to call Open() again after a call to this method.
* <strong>Note:</strong> If the FileIO object is destroyed, and it is still
* open, then it will be implicitly closed, so you are not required to call
diff --git a/ppapi/c/ppb_graphics_2d.h b/ppapi/c/ppb_graphics_2d.h
index a7b553d..f9c9953 100644
--- a/ppapi/c/ppb_graphics_2d.h
+++ b/ppapi/c/ppb_graphics_2d.h
@@ -3,7 +3,7 @@
* found in the LICENSE file.
*/
-/* From ppb_graphics_2d.idl modified Wed Oct 5 14:06:02 2011. */
+/* From ppb_graphics_2d.idl modified Thu Jan 12 16:11:14 2012. */
#ifndef PPAPI_C_PPB_GRAPHICS_2D_H_
#define PPAPI_C_PPB_GRAPHICS_2D_H_
@@ -238,10 +238,10 @@ struct PPB_Graphics2D_1_0 {
* the image has been painted on the screen.
*
* @return Returns <code>PP_OK</code> on success or
- * <code>PP_Error_BadResource</code> if the graphics context is invalid,
- * <code>PP_Error_BadArgument</code> if the callback is null and flush is
+ * <code>PP_ERROR_BADRESOURCE</code> if the graphics context is invalid,
+ * <code>PP_ERROR_BADARGUMENT</code> if the callback is null and flush is
* being called from the main thread of the module, or
- * <code>PP_Error_InProgress</code> if a flush is already pending that has
+ * <code>PP_ERROR_INPROGRESS</code> if a flush is already pending that has
* not issued its callback yet. In the failure case, nothing will be updated
* and no callback will be scheduled.
*/
diff --git a/ppapi/cpp/file_io.h b/ppapi/cpp/file_io.h
index d850627..29a45f6 100644
--- a/ppapi/cpp/file_io.h
+++ b/ppapi/cpp/file_io.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -145,7 +145,7 @@ class FileIO : public Resource {
/// Close() cancels any IO that may be pending, and closes the FileIO object.
/// Any pending callbacks will still run, reporting
- /// <code>PP_Error_Aborted</code> if pending IO was interrupted. It is not
+ /// <code>PP_ERROR_ABORTED</code> if pending IO was interrupted. It is not
/// valid to call Open() again after a call to this method.
///
/// <strong>Note:</strong> If the FileIO object is destroyed, and it is still
diff --git a/ppapi/cpp/graphics_2d.h b/ppapi/cpp/graphics_2d.h
index 75583ca..c30a43c 100644
--- a/ppapi/cpp/graphics_2d.h
+++ b/ppapi/cpp/graphics_2d.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -241,10 +241,10 @@ class Graphics2D : public Resource {
/// image has been painted on the screen.
///
/// @return Returns <code>PP_OK</code> on success or
- /// <code>PP_Error_BadResource</code> if the graphics context is invalid,
- /// <code>PP_Error_BadArgument</code> if the callback is null and
+ /// <code>PP_ERROR_BADRESOURCE</code> if the graphics context is invalid,
+ /// <code>PP_ERROR_BADARGUMENT</code> if the callback is null and
/// flush is being called from the main thread of the module, or
- /// <code>PP_Error_InProgress</code> if a flush is already pending that has
+ /// <code>PP_ERROR_INPROGRESS</code> if a flush is already pending that has
/// not issued its callback yet. In the failure case, nothing will be
/// updated and no callback will be scheduled.