Index: components/nacl/renderer/nexe_load_manager.h |
diff --git a/components/nacl/renderer/nexe_load_manager.h b/components/nacl/renderer/nexe_load_manager.h |
index ed9dca94ff28feb5a09dd0f68e12209646583c25..275ac4fae7c997689b37ee78ede29713a6cbab13 100644 |
--- a/components/nacl/renderer/nexe_load_manager.h |
+++ b/components/nacl/renderer/nexe_load_manager.h |
@@ -41,6 +41,12 @@ class NexeLoadManager { |
uint64_t total_bytes); |
void ReportLoadError(PP_NaClError error, |
const std::string& error_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 ReportLoadError(PP_NaClError error, |
const std::string& error_message, |
const std::string& console_message); |