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 229 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
240 PluginReverseInterface* rev_interface() const { return rev_interface_; } | 240 PluginReverseInterface* rev_interface() const { return rev_interface_; } |
241 | 241 |
242 private: | 242 private: |
243 NACL_DISALLOW_COPY_AND_ASSIGN(ServiceRuntime); | 243 NACL_DISALLOW_COPY_AND_ASSIGN(ServiceRuntime); |
244 bool InitCommunication(nacl::DescWrapper* shm, ErrorInfo* error_info); | 244 bool InitCommunication(nacl::DescWrapper* shm, ErrorInfo* error_info); |
245 | 245 |
246 NaClSrpcChannel command_channel_; | 246 NaClSrpcChannel command_channel_; |
247 Plugin* plugin_; | 247 Plugin* plugin_; |
248 bool should_report_uma_; | 248 bool should_report_uma_; |
249 nacl::ReverseService* reverse_service_; | 249 nacl::ReverseService* reverse_service_; |
250 nacl::scoped_ptr<nacl::SelLdrLauncher> subprocess_; | 250 nacl::scoped_ptr<nacl::SelLdrLauncherBase> subprocess_; |
251 | 251 |
252 nacl::WeakRefAnchor* anchor_; | 252 nacl::WeakRefAnchor* anchor_; |
253 | 253 |
254 PluginReverseInterface* rev_interface_; | 254 PluginReverseInterface* rev_interface_; |
255 | 255 |
256 NaClMutex mu_; | 256 NaClMutex mu_; |
257 int exit_status_; | 257 int exit_status_; |
258 }; | 258 }; |
259 | 259 |
260 } // namespace plugin | 260 } // namespace plugin |
261 | 261 |
262 #endif // NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_SERVICE_RUNTIME_H_ | 262 #endif // NATIVE_CLIENT_SRC_TRUSTED_PLUGIN_SERVICE_RUNTIME_H_ |
OLD | NEW |