OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2011 The Chromium Authors. All rights reserved. | 2 * Copyright (c) 2011 The Chromium Authors. All rights reserved. |
3 * Use of this source code is governed by a BSD-style license that can be | 3 * Use of this source code is governed by a BSD-style license that can be |
4 * found in the LICENSE file. | 4 * found in the LICENSE file. |
5 */ | 5 */ |
6 | 6 |
7 /* | 7 /* |
8 * Error codes and data structures used to report errors when loading a nexe. | 8 * Error codes and data structures used to report errors when loading a nexe. |
9 */ | 9 */ |
10 | 10 |
11 #ifndef NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_PLUGIN_ERROR_H | 11 #ifndef COMPONENTS_NACL_RENDERER_PLUGIN_PLUGIN_ERROR_H |
12 #define NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_PLUGIN_ERROR_H | 12 #define COMPONENTS_NACL_RENDERER_PLUGIN_PLUGIN_ERROR_H |
13 | 13 |
14 #include <string> | 14 #include <string> |
15 | 15 |
16 #include "native_client/src/include/nacl_macros.h" | 16 #include "native_client/src/include/nacl_macros.h" |
17 #include "ppapi/c/private/ppb_nacl_private.h" | 17 #include "ppapi/c/private/ppb_nacl_private.h" |
18 | 18 |
19 namespace plugin { | 19 namespace plugin { |
20 | 20 |
21 class ErrorInfo { | 21 class ErrorInfo { |
22 public: | 22 public: |
(...skipping 15 matching lines...) Expand all Loading... |
38 } | 38 } |
39 | 39 |
40 private: | 40 private: |
41 PP_NaClError error_code_; | 41 PP_NaClError error_code_; |
42 std::string message_; | 42 std::string message_; |
43 NACL_DISALLOW_COPY_AND_ASSIGN(ErrorInfo); | 43 NACL_DISALLOW_COPY_AND_ASSIGN(ErrorInfo); |
44 }; | 44 }; |
45 | 45 |
46 } // namespace plugin | 46 } // namespace plugin |
47 | 47 |
48 #endif // NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_PLUGIN_ERROR_H | 48 #endif // COMPONENTS_NACL_RENDERER_PLUGIN_PLUGIN_ERROR_H |
OLD | NEW |