diff options
Diffstat (limited to 'webkit/plugins/ppapi/error_util.h')
-rw-r--r-- | webkit/plugins/ppapi/error_util.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/webkit/plugins/ppapi/error_util.h b/webkit/plugins/ppapi/error_util.h new file mode 100644 index 0000000..660f7d2 --- /dev/null +++ b/webkit/plugins/ppapi/error_util.h @@ -0,0 +1,18 @@ +// Copyright (c) 2010 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. + +#ifndef WEBKIT_PLUGINS_PPAPI_ERROR_UTIL_H_ +#define WEBKIT_PLUGINS_PPAPI_ERROR_UTIL_H_ + +#include "base/platform_file.h" + +namespace webkit { +namespace ppapi { + +int PlatformFileErrorToPepperError(base::PlatformFileError error_code); + +} // namespace ppapi +} // namespace webkit + +#endif // WEBKIT_PLUGINS_PPAPI_ERROR_UTIL_H_ |