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 878e1ab99da9b35d77481e036cfaa15654f0175c..5e0eca96ccd8f6908d7eef0385e8b6069816b297 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); |