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

Side by Side Diff: components/nacl/loader/nacl_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
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_LISTENER_H_ 5 #ifndef COMPONENTS_NACL_LOADER_NACL_LISTENER_H_
6 #define CHROME_NACL_NACL_LISTENER_H_ 6 #define COMPONENTS_NACL_LOADER_NACL_LISTENER_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
11 #include "base/synchronization/waitable_event.h" 11 #include "base/synchronization/waitable_event.h"
12 #include "base/threading/thread.h" 12 #include "base/threading/thread.h"
13 #include "chrome/common/nacl_types.h" 13 #include "components/nacl/common/nacl_types.h"
14 #include "ipc/ipc_listener.h" 14 #include "ipc/ipc_listener.h"
15 15
16 namespace IPC { 16 namespace IPC {
17 class SyncChannel; 17 class SyncChannel;
18 class SyncMessageFilter; 18 class SyncMessageFilter;
19 } 19 }
20 20
21 // The NaClListener is an IPC channel listener that waits for a 21 // The NaClListener is an IPC channel listener that waits for a
22 // request to start a NaCl module. 22 // request to start a NaCl module.
23 class NaClListener : public IPC::Listener { 23 class NaClListener : public IPC::Listener {
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 // NaClChromeMainArgs object. 64 // NaClChromeMainArgs object.
65 int number_of_cores_; 65 int number_of_cores_;
66 #endif 66 #endif
67 67
68 // Used to identify what thread we're on. 68 // Used to identify what thread we're on.
69 base::MessageLoop* main_loop_; 69 base::MessageLoop* main_loop_;
70 70
71 DISALLOW_COPY_AND_ASSIGN(NaClListener); 71 DISALLOW_COPY_AND_ASSIGN(NaClListener);
72 }; 72 };
73 73
74 #endif // CHROME_NACL_NACL_LISTENER_H_ 74 #endif // COMPONENTS_NACL_LOADER_NACL_LISTENER_H_
OLDNEW
« no previous file with comments | « components/nacl/loader/nacl_ipc_adapter_unittest.cc ('k') | components/nacl/loader/nacl_listener.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698