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

Unified Diff: src/trusted/plugin/service_runtime.cc

Issue 7108031: this patch adds the manifest proxy server to sel_ldr and the manifest (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client/
Patch Set: '' Created 9 years, 6 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 | « src/trusted/plugin/service_runtime.h ('k') | src/trusted/reverse_service/manifest_rpc.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/trusted/plugin/service_runtime.cc
===================================================================
--- src/trusted/plugin/service_runtime.cc (revision 5652)
+++ src/trusted/plugin/service_runtime.cc (working copy)
@@ -70,7 +70,7 @@
p->message);
}
-void LogToJavaScriptConsoleInterface::Log(nacl::string message) {
+void PluginReverseInterface::Log(nacl::string message) {
(void) WeakRefCompletionCallback(anchor_, 0,
LogToJavaScriptConsole,
new LogToJavaScriptConsoleResource(
@@ -87,7 +87,7 @@
async_receive_desc_(NULL),
async_send_desc_(NULL),
anchor_(new nacl::WeakRefAnchor()),
- log_interface_(new LogToJavaScriptConsoleInterface(anchor_, plugin)) {
+ rev_interface_(new PluginReverseInterface(anchor_, plugin)) {
}
bool ServiceRuntime::InitCommunication(nacl::Handle bootstrap_socket,
@@ -156,7 +156,7 @@
return false;
}
out_conn_cap = NULL; // ownership passed
- reverse_service_ = new nacl::ReverseService(conn_cap, log_interface_->Ref());
+ reverse_service_ = new nacl::ReverseService(conn_cap, rev_interface_->Ref());
if (!reverse_service_->Start()) {
*error_string = "ServiceRuntime: starting reverse services failed";
return false;
@@ -341,7 +341,7 @@
reverse_service_->Unref();
}
- log_interface_->Unref();
+ rev_interface_->Unref();
// TODO(sehr,mseaborn): use scoped_ptr for management of DescWrappers.
delete async_receive_desc_;
« no previous file with comments | « src/trusted/plugin/service_runtime.h ('k') | src/trusted/reverse_service/manifest_rpc.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698