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 2c3b4a94670ab26ecf55dde99222d88c5515e811..8a816900f473e8d206819222f1144e5d4adcf122 100644 |
--- a/components/nacl/renderer/nexe_load_manager.h |
+++ b/components/nacl/renderer/nexe_load_manager.h |
@@ -30,9 +30,13 @@ class TrustedPluginChannel; |
// nexe. |
class NexeLoadManager { |
public: |
- explicit NexeLoadManager(PP_Instance instance); |
~NexeLoadManager(); |
+ static void Create(PP_Instance instance); |
+ // Non-owning pointer. |
+ static NexeLoadManager* Get(PP_Instance instance); |
+ static void Delete(PP_Instance instance); |
+ |
void NexeFileDidOpen(int32_t pp_error, |
const base::File& file, |
int32_t http_status, |
@@ -120,6 +124,8 @@ class NexeLoadManager { |
private: |
DISALLOW_COPY_AND_ASSIGN(NexeLoadManager); |
+ explicit NexeLoadManager(PP_Instance instance); |
+ |
void ReportDeadNexe(); |
// Copies a crash log to the console, one line at a time. |