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

Side by Side Diff: components/nacl/broker/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, 5 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 unified diff | Download patch
« no previous file with comments | « components/nacl/broker/DEPS ('k') | components/nacl/broker/nacl_broker_listener.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_NACL_NACL_BROKER_LISTENER_H_ 5 #ifndef COMPONENTS_NACL_BROKER_NACL_BROKER_LISTENER_H_
6 #define CHROME_NACL_NACL_BROKER_LISTENER_H_ 6 #define COMPONENTS_NACL_BROKER_NACL_BROKER_LISTENER_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "base/process.h" 9 #include "base/process.h"
10 #include "chrome/common/nacl_types.h" 10 #include "components/nacl/common/nacl_types.h"
11 #include "content/public/common/sandboxed_process_launcher_delegate.h" 11 #include "content/public/common/sandboxed_process_launcher_delegate.h"
12 #include "ipc/ipc_listener.h" 12 #include "ipc/ipc_listener.h"
13 13
14 namespace IPC { 14 namespace IPC {
15 class Channel; 15 class Channel;
16 } 16 }
17 17
18 // The BrokerThread class represents the thread that handles the messages from 18 // The BrokerThread class represents the thread that handles the messages from
19 // the browser process and starts NaCl loader processes. 19 // the browser process and starts NaCl loader processes.
20 class NaClBrokerListener : public content::SandboxedProcessLauncherDelegate, 20 class NaClBrokerListener : public content::SandboxedProcessLauncherDelegate,
(...skipping 19 matching lines...) Expand all
40 base::ProcessHandle process_handle, 40 base::ProcessHandle process_handle,
41 const std::string& startup_info); 41 const std::string& startup_info);
42 void OnStopBroker(); 42 void OnStopBroker();
43 43
44 base::ProcessHandle browser_handle_; 44 base::ProcessHandle browser_handle_;
45 scoped_ptr<IPC::Channel> channel_; 45 scoped_ptr<IPC::Channel> channel_;
46 46
47 DISALLOW_COPY_AND_ASSIGN(NaClBrokerListener); 47 DISALLOW_COPY_AND_ASSIGN(NaClBrokerListener);
48 }; 48 };
49 49
50 #endif // CHROME_NACL_NACL_BROKER_LISTENER_H_ 50 #endif // COMPONENTS_NACL_BROKER_NACL_BROKER_LISTENER_H_
OLDNEW
« no previous file with comments | « components/nacl/broker/DEPS ('k') | components/nacl/broker/nacl_broker_listener.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698