diff options
author | bradnelson@google.com <bradnelson@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-18 03:01:21 +0000 |
---|---|---|
committer | bradnelson@google.com <bradnelson@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-18 03:01:21 +0000 |
commit | 79970a2cfbe87224954b281984e2e67c593ea13c (patch) | |
tree | 19f8825cd7c8182742f1566bfee5ad45af2bcc23 /chrome/nacl/nacl_thread.cc | |
parent | c31df6877d7b45075decbe97da47d6c783de62ed (diff) | |
download | chromium_src-79970a2cfbe87224954b281984e2e67c593ea13c.zip chromium_src-79970a2cfbe87224954b281984e2e67c593ea13c.tar.gz chromium_src-79970a2cfbe87224954b281984e2e67c593ea13c.tar.bz2 |
Preparing rollback in case things don't work out.
This rolls back 26540, gregoryd's attempt at a nacl landing.
BUG=None
TEST=None
Review URL: http://codereview.chromium.org/213019
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26543 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/nacl/nacl_thread.cc')
-rw-r--r-- | chrome/nacl/nacl_thread.cc | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/chrome/nacl/nacl_thread.cc b/chrome/nacl/nacl_thread.cc deleted file mode 100644 index 0b669f0..0000000 --- a/chrome/nacl/nacl_thread.cc +++ /dev/null @@ -1,33 +0,0 @@ -// Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -#include "chrome/nacl/nacl_thread.h" - -#include "build/build_config.h" -#include "chrome/common/notification_service.h" -#include "chrome/common/nacl_messages.h" -#include "native_client/src/trusted/service_runtime/include/sys/nacl_imc_api.h" - -int SelMain(const int desc, const NaClHandle handle); - -NaClThread::NaClThread() { -} - -NaClThread::~NaClThread() { -} - -NaClThread* NaClThread::current() { - return static_cast<NaClThread*>(ChildThread::current()); -} - -void NaClThread::OnControlMessageReceived(const IPC::Message& msg) { - IPC_BEGIN_MESSAGE_MAP(NaClThread, msg) - IPC_MESSAGE_HANDLER(NaClProcessMsg_StartSelLdr, OnStartSelLdr) - IPC_END_MESSAGE_MAP() -} - -void NaClThread::OnStartSelLdr(const int channel_descriptor, - const nacl::FileDescriptor handle) { - SelMain(channel_descriptor, NATIVE_HANDLE(handle)); -} |