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

Side by Side Diff: ppapi/native_client/src/trusted/plugin/plugin_error.h

Issue 22839005: disable pnacl by default (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Code review changes Created 7 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
OLDNEW
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
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 ERROR_PNACL_RESOURCE_FETCH = 58, 86 ERROR_PNACL_RESOURCE_FETCH = 58,
87 ERROR_PNACL_PEXE_FETCH_ABORTED = 59, 87 ERROR_PNACL_PEXE_FETCH_ABORTED = 59,
88 ERROR_PNACL_PEXE_FETCH_NOACCESS = 60, 88 ERROR_PNACL_PEXE_FETCH_NOACCESS = 60,
89 ERROR_PNACL_PEXE_FETCH_OTHER = 61, 89 ERROR_PNACL_PEXE_FETCH_OTHER = 61,
90 ERROR_PNACL_THREAD_CREATE = 62, 90 ERROR_PNACL_THREAD_CREATE = 62,
91 ERROR_PNACL_LLC_SETUP = 63, 91 ERROR_PNACL_LLC_SETUP = 63,
92 ERROR_PNACL_LD_SETUP = 64, 92 ERROR_PNACL_LD_SETUP = 64,
93 ERROR_PNACL_LLC_INTERNAL = 65, 93 ERROR_PNACL_LLC_INTERNAL = 65,
94 ERROR_PNACL_LD_INTERNAL = 66, 94 ERROR_PNACL_LD_INTERNAL = 66,
95 ERROR_PNACL_CREATE_TEMP = 67, 95 ERROR_PNACL_CREATE_TEMP = 67,
96 // Remove this next code when pnacl is no longer behind a flag (when we
97 // remove the --enable-pnacl flag).
96 ERROR_PNACL_NOT_ENABLED = 68, 98 ERROR_PNACL_NOT_ENABLED = 68,
97 ERROR_MANIFEST_NOACCESS_URL = 69, 99 ERROR_MANIFEST_NOACCESS_URL = 69,
98 ERROR_NEXE_NOACCESS_URL = 70, 100 ERROR_NEXE_NOACCESS_URL = 70,
99 ERROR_PNACL_CRASH_THROTTLED = 71, 101 ERROR_PNACL_CRASH_THROTTLED = 71,
100 // If you add a code, read the enum comment above on how to update histograms. 102 // If you add a code, read the enum comment above on how to update histograms.
101 ERROR_MAX 103 ERROR_MAX
102 }; 104 };
103 105
104 class ErrorInfo { 106 class ErrorInfo {
105 public: 107 public:
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 private: 152 private:
151 PluginErrorCode error_code_; 153 PluginErrorCode error_code_;
152 std::string message_; 154 std::string message_;
153 std::string console_message_; 155 std::string console_message_;
154 NACL_DISALLOW_COPY_AND_ASSIGN(ErrorInfo); 156 NACL_DISALLOW_COPY_AND_ASSIGN(ErrorInfo);
155 }; 157 };
156 158
157 } // namespace plugin 159 } // namespace plugin
158 160
159 #endif // NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_PLUGIN_ERROR_H 161 #endif // NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_PLUGIN_ERROR_H
OLDNEW
« no previous file with comments | « ppapi/native_client/src/trusted/plugin/plugin.cc ('k') | ppapi/native_client/src/trusted/plugin/service_runtime.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698