diff options
author | gregoryd@google.com <gregoryd@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-01-30 00:29:54 +0000 |
---|---|---|
committer | gregoryd@google.com <gregoryd@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-01-30 00:29:54 +0000 |
commit | 0b6e0a2ba1c90550d2dc4e33e2d0d282e09ebfdb (patch) | |
tree | 7e0c2f17e82dd477294d26a51051bee13c4dc5bb /chrome/nacl/broker_thread.h | |
parent | 732a0f086db4bfdfd29749c3a500af0405934b6f (diff) | |
download | chromium_src-0b6e0a2ba1c90550d2dc4e33e2d0d282e09ebfdb.zip chromium_src-0b6e0a2ba1c90550d2dc4e33e2d0d282e09ebfdb.tar.gz chromium_src-0b6e0a2ba1c90550d2dc4e33e2d0d282e09ebfdb.tar.bz2 |
Revert 37578 - Implement the broker process that launches NaCl loader processes on 64bit Windows systems.
BUG=28176
TEST=none
Review URL: http://codereview.chromium.org/542030
TBR=gregoryd@google.com
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@37580 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/nacl/broker_thread.h')
-rw-r--r-- | chrome/nacl/broker_thread.h | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/chrome/nacl/broker_thread.h b/chrome/nacl/broker_thread.h deleted file mode 100644 index d88919f..0000000 --- a/chrome/nacl/broker_thread.h +++ /dev/null @@ -1,37 +0,0 @@ -// Copyright (c) 2010 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. - -#ifndef CHROME_NACL_BROKER_THREAD_H_ -#define CHROME_NACL_BROKER_THREAD_H_ - -#include "chrome/common/child_thread.h" -#include "chrome/common/nacl_types.h" - -#if defined(OS_WIN) -#include "sandbox/src/sandbox.h" -#endif - -// The BrokerThread class represents the thread that handles the messages from -// the browser process and starts NaCl loader processes. -class NaClBrokerThread : public ChildThread { - public: - NaClBrokerThread(); - ~NaClBrokerThread(); - // Returns the one NaCl thread. - static NaClBrokerThread* current(); - - virtual void OnChannelConnected(int32 peer_pid); - - private: - virtual void OnControlMessageReceived(const IPC::Message& msg); - void OnLaunchLoaderThroughBroker(const std::wstring& loader_channel_id); - void OnShareBrowserHandle(int browser_handle); - - base::ProcessHandle browser_handle_; - sandbox::BrokerServices* broker_services_; - - DISALLOW_COPY_AND_ASSIGN(NaClBrokerThread); -}; - -#endif // CHROME_NACL_BROKER_THREAD_H_ |