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

Side by Side Diff: chrome/nacl/nacl_thread.h

Issue 207025: NaCl-Chrome integration (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 3 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 | Annotate | Revision Log
« no previous file with comments | « chrome/nacl/nacl_main.cc ('k') | chrome/nacl/nacl_thread.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROME_NACL_NACL_THREAD_H_
6 #define CHROME_NACL_NACL_THREAD_H_
7
8 #include "base/file_path.h"
9 #include "base/native_library.h"
10 #include "chrome/common/child_thread.h"
11 #include "chrome/common/nacl_types.h"
12
13 class NotificationService;
14
15 // The NaClThread class represents a background thread where NaCl app gets
16 // started.
17 class NaClThread : public ChildThread {
18 public:
19 NaClThread();
20 ~NaClThread();
21 // Returns the one NaCl thread.
22 static NaClThread* current();
23
24 private:
25 virtual void OnControlMessageReceived(const IPC::Message& msg);
26 void OnStartSelLdr(const int channel_descriptor,
27 const nacl::FileDescriptor handle);
28 // TODO(gregoryd): do we need to override Cleanup as in PluginThread?
29
30 scoped_ptr<NotificationService> notification_service_;
31
32 DISALLOW_EVIL_CONSTRUCTORS(NaClThread);
33 };
34
35 #endif // CHROME_NACL_NACL_THREAD_H_
OLDNEW
« no previous file with comments | « chrome/nacl/nacl_main.cc ('k') | chrome/nacl/nacl_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698