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

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

Issue 282683002: Pepper: Simplify LaunchSelLdr error reporting. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 6 years, 7 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 180b1b09fe79d40b20ab2fb9948e040554b57ad8..f5dea47c29a85bf24ece558b9cccbee324a593e5 100644
--- a/ppapi/native_client/src/trusted/plugin/plugin_error.h
+++ b/ppapi/native_client/src/trusted/plugin/plugin_error.h
@@ -34,19 +34,6 @@ class ErrorInfo {
console_message_ = message;
}
- // console_message is a part of the error that is logged to
- // the JavaScript console but is not reported to JavaScript via
- // the lastError property. This is used to report internal errors which
- // may easily change in new versions of the browser and we don't want apps
- // to come to depend on the details of these errors.
- void SetReportWithConsoleOnlyError(PP_NaClError error_code,
- const std::string& message,
- const std::string& console_message) {
- error_code_ = error_code;
- message_ = message;
- console_message_ = message + "; " + console_message;
- }
-
PP_NaClError error_code() const {
return error_code_;
}

Powered by Google App Engine
This is Rietveld 408576698