| OLD | NEW | 
|---|
| 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_ERRORS_H_ | 5 #ifndef PPAPI_C_PP_ERRORS_H_ | 
| 6 #define PPAPI_C_PP_ERRORS_H_ | 6 #define PPAPI_C_PP_ERRORS_H_ | 
| 7 | 7 | 
| 8 // Errors are negative valued. | 8 // Errors are negative valued. | 
| 9 enum { | 9 enum { | 
| 10   PP_OK = 0, | 10   PP_OK = 0, | 
| (...skipping 24 matching lines...) Expand all  Loading... | 
| 35   PP_Error_NoAccess = -7, | 35   PP_Error_NoAccess = -7, | 
| 36 | 36 | 
| 37   // Indicates failure due to insufficient memory. | 37   // Indicates failure due to insufficient memory. | 
| 38   PP_Error_NoMemory = -8, | 38   PP_Error_NoMemory = -8, | 
| 39 | 39 | 
| 40   // Indicates failure due to insufficient storage space. | 40   // Indicates failure due to insufficient storage space. | 
| 41   PP_Error_NoSpace = -9, | 41   PP_Error_NoSpace = -9, | 
| 42 | 42 | 
| 43   // Indicates failure due to insufficient storage quota. | 43   // Indicates failure due to insufficient storage quota. | 
| 44   PP_Error_NoQuota = -10, | 44   PP_Error_NoQuota = -10, | 
|  | 45 | 
|  | 46   // Indicates failure due to an action already being in progress. | 
|  | 47   PP_Error_InProgress = -11, | 
| 45 | 48 | 
| 46   // Indicates failure due to a file that does not exist. | 49   // Indicates failure due to a file that does not exist. | 
| 47   PP_Error_FileNotFound = -20, | 50   PP_Error_FileNotFound = -20, | 
| 48 | 51 | 
| 49   // Indicates failure due to a file that already exists. | 52   // Indicates failure due to a file that already exists. | 
| 50   PP_Error_FileExists = -21, | 53   PP_Error_FileExists = -21, | 
| 51 | 54 | 
| 52   // Indicates failure due to a file that is too big. | 55   // Indicates failure due to a file that is too big. | 
| 53   PP_Error_FileTooBig = -22, | 56   PP_Error_FileTooBig = -22, | 
| 54 | 57 | 
| 55   // Indicates failure due to a file having been modified unexpectedly. | 58   // Indicates failure due to a file having been modified unexpectedly. | 
| 56   PP_Error_FileChanged = -23, | 59   PP_Error_FileChanged = -23, | 
| 57 | 60 | 
| 58   // Indicates failure due to a time limit being exceeded. | 61   // Indicates failure due to a time limit being exceeded. | 
| 59   PP_Error_TimedOut = -30, | 62   PP_Error_TimedOut = -30, | 
| 60 }; | 63 }; | 
| 61 | 64 | 
| 62 #endif  // PPAPI_C_PP_ERRORS_H_ | 65 #endif  // PPAPI_C_PP_ERRORS_H_ | 
| OLD | NEW | 
|---|