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

Side by Side Diff: chrome/common/child_process.h

Issue 5977010: Move CancellationFlag and WaitableEvent to the synchronization subdirectory.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 11 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
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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_COMMON_CHILD_PROCESS_H__ 5 #ifndef CHROME_COMMON_CHILD_PROCESS_H__
6 #define CHROME_COMMON_CHILD_PROCESS_H__ 6 #define CHROME_COMMON_CHILD_PROCESS_H__
7 #pragma once 7 #pragma once
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/scoped_ptr.h" 10 #include "base/scoped_ptr.h"
11 #include "base/threading/thread.h" 11 #include "base/threading/thread.h"
12 #include "base/waitable_event.h" 12 #include "base/synchronization/waitable_event.h"
13 13
14 class ChildThread; 14 class ChildThread;
15 15
16 // Base class for child processes of the browser process (i.e. renderer and 16 // Base class for child processes of the browser process (i.e. renderer and
17 // plugin host). This is a singleton object for each child process. 17 // plugin host). This is a singleton object for each child process.
18 class ChildProcess { 18 class ChildProcess {
19 public: 19 public:
20 // Child processes should have an object that derives from this class. 20 // Child processes should have an object that derives from this class.
21 ChildProcess(); 21 ChildProcess();
22 virtual ~ChildProcess(); 22 virtual ~ChildProcess();
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 // io_thread_. 63 // io_thread_.
64 scoped_ptr<ChildThread> main_thread_; 64 scoped_ptr<ChildThread> main_thread_;
65 65
66 // The singleton instance for this process. 66 // The singleton instance for this process.
67 static ChildProcess* child_process_; 67 static ChildProcess* child_process_;
68 68
69 DISALLOW_COPY_AND_ASSIGN(ChildProcess); 69 DISALLOW_COPY_AND_ASSIGN(ChildProcess);
70 }; 70 };
71 71
72 #endif // CHROME_COMMON_CHILD_PROCESS_H__ 72 #endif // CHROME_COMMON_CHILD_PROCESS_H__
OLDNEW
« no previous file with comments | « chrome/browser/webdata/web_data_service_unittest.cc ('k') | chrome/common/net/url_fetcher_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698