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

Unified Diff: ppapi/native_client/src/trusted/plugin/plugin_error.h

Issue 11881038: Refine PNaCl pexe fetch UMA errors to know if the user aborted, etc. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sort Created 7 years, 11 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 side-by-side diff with in-line comments
Download patch
Index: ppapi/native_client/src/trusted/plugin/plugin_error.h
diff --git a/ppapi/native_client/src/trusted/plugin/plugin_error.h b/ppapi/native_client/src/trusted/plugin/plugin_error.h
index 1654846f85b77c4c2cb8c6206dc77903d4db95f6..d2e6bec319a6b8b08b29e4e7334015063b5d65fe 100644
--- a/ppapi/native_client/src/trusted/plugin/plugin_error.h
+++ b/ppapi/native_client/src/trusted/plugin/plugin_error.h
@@ -84,20 +84,39 @@ enum PluginErrorCode {
ERROR_PNACL_CACHE_FINALIZE_RENAME_NOACCESS = 56,
ERROR_PNACL_CACHE_FINALIZE_RENAME_OTHER = 57,
ERROR_PNACL_RESOURCE_FETCH = 58,
- ERROR_PNACL_PEXE_FETCH = 59,
- ERROR_PNACL_THREAD_CREATE = 60,
- ERROR_PNACL_LLC_SETUP = 61,
- ERROR_PNACL_LD_SETUP = 62,
- ERROR_PNACL_LLC_INTERNAL = 63,
- ERROR_PNACL_LD_INTERNAL = 64,
- ERROR_PNACL_CREATE_TEMP = 65,
+ ERROR_PNACL_PEXE_FETCH_ABORTED = 59,
Nick Bray (chromium) 2013/01/15 23:12:49 Only renumber if you're fine with this data being
jvoung (off chromium) 2013/01/16 01:31:24 Done.
+ ERROR_PNACL_PEXE_FETCH_NOACCESS = 60,
+ ERROR_PNACL_PEXE_FETCH_OTHER = 61,
+ ERROR_PNACL_THREAD_CREATE = 62,
+ ERROR_PNACL_LLC_SETUP = 63,
+ ERROR_PNACL_LD_SETUP = 64,
+ ERROR_PNACL_LLC_INTERNAL = 65,
+ ERROR_PNACL_LD_INTERNAL = 66,
+ ERROR_PNACL_CREATE_TEMP = 67,
// Remove this next code when pnacl is no longer behind a flag (when we
// remove the --enable-pnacl flag).
- ERROR_PNACL_NOT_ENABLED = 66,
+ ERROR_PNACL_NOT_ENABLED = 68,
// If you add a code, read the enum comment above on how to update histograms.
ERROR_MAX
};
+// Refinements for ERROR_PNACL_LLC_INTERNAL.
+enum PNaClLLCErrorCode {
+ ERROR_PNACL_LLC_STREAM_INIT = 1,
Nick Bray (chromium) 2013/01/15 23:12:49 It's unclear to me if these enums belong here (or
jvoung (off chromium) 2013/01/16 01:31:24 Perhaps they can be moved to a pnacl specific file
+ ERROR_PNACL_LLC_OOM = 2,
+ ERROR_PNACL_LLC_BITCODE_ABI = 3,
+ ERROR_PNACL_LLC_UNKNOWN = 4,
+ ERROR_PNACL_LLC_MAX
+};
+
+// Refinements for ERROR_PNACL_LD_INTERNAL.
+enum PNaClLDErrorCode {
+ ERROR_PNACL_LD_UNDEFINED_SYMBOLS = 1,
+ ERROR_PNACL_LD_OOM = 2,
+ ERROR_PNACL_LD_UNKNOWN = 3,
+ ERROR_PNACL_LD_MAX
+};
+
class ErrorInfo {
public:
ErrorInfo() {

Powered by Google App Engine
This is Rietveld 408576698