| 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 f5dea47c29a85bf24ece558b9cccbee324a593e5..a30e793647a273257a9d3d398383343939698fda 100644
|
| --- a/ppapi/native_client/src/trusted/plugin/plugin_error.h
|
| +++ b/ppapi/native_client/src/trusted/plugin/plugin_error.h
|
| @@ -21,40 +21,25 @@ namespace plugin {
|
| class ErrorInfo {
|
| public:
|
| ErrorInfo() {
|
| - Reset();
|
| - }
|
| -
|
| - void Reset() {
|
| SetReport(PP_NACL_ERROR_UNKNOWN, std::string());
|
| }
|
|
|
| void SetReport(PP_NaClError error_code, const std::string& message) {
|
| error_code_ = error_code;
|
| message_ = message;
|
| - console_message_ = message;
|
| }
|
|
|
| PP_NaClError error_code() const {
|
| return error_code_;
|
| }
|
|
|
| - void PrependMessage(const std::string& prefix) {
|
| - message_ = prefix + message_;
|
| - console_message_ = prefix + console_message_;
|
| - }
|
| -
|
| const std::string& message() const {
|
| return message_;
|
| }
|
|
|
| - const std::string& console_message() const {
|
| - return console_message_;
|
| - }
|
| -
|
| private:
|
| PP_NaClError error_code_;
|
| std::string message_;
|
| - std::string console_message_;
|
| NACL_DISALLOW_COPY_AND_ASSIGN(ErrorInfo);
|
| };
|
|
|
|
|