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

Unified Diff: components/nacl/renderer/nexe_load_manager.h

Issue 217133006: Pepper: Move LogToConsole to NexeLoadManager. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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
« no previous file with comments | « no previous file | components/nacl/renderer/nexe_load_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 ccc08199080452ce4c7223aad5b9671e4bdb54b3..a82c51b7097671fe8c0cf6a3b68fd56cfcbfab1a 100644
--- a/components/nacl/renderer/nexe_load_manager.h
+++ b/components/nacl/renderer/nexe_load_manager.h
@@ -28,7 +28,9 @@ class NexeLoadManager {
explicit NexeLoadManager(PP_Instance instance);
~NexeLoadManager();
- void ReportLoadError(PP_NaClError error, const std::string& error_message);
+ void ReportLoadError(PP_NaClError error,
+ const std::string& error_message,
+ const std::string& console_message);
// TODO(dmichael): Everything below this comment should eventually be made
// private, when ppb_nacl_private_impl.cc is no longer using them directly.
@@ -59,6 +61,7 @@ class NexeLoadManager {
void set_nacl_ready_state(PP_NaClReadyState ready_state);
void SetReadOnlyProperty(PP_Var key, PP_Var value);
+ void LogToConsole(const std::string& message);
bool is_installed() { return is_installed_; }
void set_is_installed(bool installed) { is_installed_ = installed; }
« no previous file with comments | « no previous file | components/nacl/renderer/nexe_load_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698