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

Unified Diff: chrome/nacl/nacl_broker_listener.h

Issue 16881004: Move chrome/nacl to components/nacl. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Create a zygote folder Created 7 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 | « chrome/nacl/DEPS ('k') | chrome/nacl/nacl_broker_listener.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/nacl/nacl_broker_listener.h
diff --git a/chrome/nacl/nacl_broker_listener.h b/chrome/nacl/nacl_broker_listener.h
deleted file mode 100644
index 6df012ca6ef3886f47d8c68466d29012f1ca4ee7..0000000000000000000000000000000000000000
--- a/chrome/nacl/nacl_broker_listener.h
+++ /dev/null
@@ -1,50 +0,0 @@
-// Copyright (c) 2012 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_NACL_BROKER_LISTENER_H_
-#define CHROME_NACL_NACL_BROKER_LISTENER_H_
-
-#include "base/memory/scoped_ptr.h"
-#include "base/process.h"
-#include "chrome/common/nacl_types.h"
-#include "content/public/common/sandboxed_process_launcher_delegate.h"
-#include "ipc/ipc_listener.h"
-
-namespace IPC {
-class Channel;
-}
-
-// The BrokerThread class represents the thread that handles the messages from
-// the browser process and starts NaCl loader processes.
-class NaClBrokerListener : public content::SandboxedProcessLauncherDelegate,
- public IPC::Listener {
- public:
- NaClBrokerListener();
- ~NaClBrokerListener();
-
- void Listen();
-
- // content::SandboxedProcessLauncherDelegate implementation:
- virtual void PreSpawnTarget(sandbox::TargetPolicy* policy,
- bool* success) OVERRIDE;
-
- // IPC::Listener implementation.
- virtual void OnChannelConnected(int32 peer_pid) OVERRIDE;
- virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE;
- virtual void OnChannelError() OVERRIDE;
-
- private:
- void OnLaunchLoaderThroughBroker(const std::string& loader_channel_id);
- void OnLaunchDebugExceptionHandler(int32 pid,
- base::ProcessHandle process_handle,
- const std::string& startup_info);
- void OnStopBroker();
-
- base::ProcessHandle browser_handle_;
- scoped_ptr<IPC::Channel> channel_;
-
- DISALLOW_COPY_AND_ASSIGN(NaClBrokerListener);
-};
-
-#endif // CHROME_NACL_NACL_BROKER_LISTENER_H_
« no previous file with comments | « chrome/nacl/DEPS ('k') | chrome/nacl/nacl_broker_listener.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698