OLD | NEW |
1 /* -*- c++ -*- */ | 1 /* -*- c++ -*- */ |
2 /* | 2 /* |
3 * Copyright (c) 2012 The Chromium Authors. All rights reserved. | 3 * Copyright (c) 2012 The Chromium Authors. All rights reserved. |
4 * Use of this source code is governed by a BSD-style license that can be | 4 * Use of this source code is governed by a BSD-style license that can be |
5 * found in the LICENSE file. | 5 * found in the LICENSE file. |
6 */ | 6 */ |
7 | 7 |
8 // A class containing information regarding a socket connection to a | 8 // A class containing information regarding a socket connection to a |
9 // service runtime instance. | 9 // service runtime instance. |
10 | 10 |
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
146 pp::CompletionCallback crash_cb); | 146 pp::CompletionCallback crash_cb); |
147 | 147 |
148 virtual ~PluginReverseInterface(); | 148 virtual ~PluginReverseInterface(); |
149 | 149 |
150 void ShutDown(); | 150 void ShutDown(); |
151 | 151 |
152 virtual void DoPostMessage(nacl::string message); | 152 virtual void DoPostMessage(nacl::string message); |
153 | 153 |
154 virtual void StartupInitializationComplete(); | 154 virtual void StartupInitializationComplete(); |
155 | 155 |
156 virtual bool EnumerateManifestKeys(std::set<nacl::string>* out_keys); | |
157 | |
158 virtual bool OpenManifestEntry(nacl::string url_key, | 156 virtual bool OpenManifestEntry(nacl::string url_key, |
159 struct NaClFileInfo *info); | 157 struct NaClFileInfo *info); |
160 | 158 |
161 virtual bool CloseManifestEntry(int32_t desc); | 159 virtual bool CloseManifestEntry(int32_t desc); |
162 | 160 |
163 virtual void ReportCrash(); | 161 virtual void ReportCrash(); |
164 | 162 |
165 virtual void ReportExitStatus(int exit_status); | 163 virtual void ReportExitStatus(int exit_status); |
166 | 164 |
167 virtual int64_t RequestQuotaForWrite(nacl::string file_id, | 165 virtual int64_t RequestQuotaForWrite(nacl::string file_id, |
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
287 int exit_status_; | 285 int exit_status_; |
288 bool start_sel_ldr_done_; | 286 bool start_sel_ldr_done_; |
289 | 287 |
290 PP_Var start_sel_ldr_error_message_; | 288 PP_Var start_sel_ldr_error_message_; |
291 pp::CompletionCallbackFactory<ServiceRuntime> callback_factory_; | 289 pp::CompletionCallbackFactory<ServiceRuntime> callback_factory_; |
292 }; | 290 }; |
293 | 291 |
294 } // namespace plugin | 292 } // namespace plugin |
295 | 293 |
296 #endif // NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_SERVICE_RUNTIME_H_ | 294 #endif // NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_SERVICE_RUNTIME_H_ |
OLD | NEW |