OLD | NEW |
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 CONTENT_BROWSER_CHILD_PROCESS_LAUNCHER_H_ | 5 #ifndef CONTENT_BROWSER_CHILD_PROCESS_LAUNCHER_H_ |
6 #define CONTENT_BROWSER_CHILD_PROCESS_LAUNCHER_H_ | 6 #define CONTENT_BROWSER_CHILD_PROCESS_LAUNCHER_H_ |
7 #pragma once | |
8 | 7 |
9 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
10 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
11 #include "base/process_util.h" | 10 #include "base/process_util.h" |
12 #include "content/common/content_export.h" | 11 #include "content/common/content_export.h" |
13 | 12 |
14 class CommandLine; | 13 class CommandLine; |
15 | 14 |
16 // Launches a process asynchronously and notifies the client of the process | 15 // Launches a process asynchronously and notifies the client of the process |
17 // handle when it's available. It's used to avoid blocking the calling thread | 16 // handle when it's available. It's used to avoid blocking the calling thread |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 | 66 |
68 private: | 67 private: |
69 class Context; | 68 class Context; |
70 | 69 |
71 scoped_refptr<Context> context_; | 70 scoped_refptr<Context> context_; |
72 | 71 |
73 DISALLOW_COPY_AND_ASSIGN(ChildProcessLauncher); | 72 DISALLOW_COPY_AND_ASSIGN(ChildProcessLauncher); |
74 }; | 73 }; |
75 | 74 |
76 #endif // CONTENT_BROWSER_CHILD_PROCESS_LAUNCHER_H_ | 75 #endif // CONTENT_BROWSER_CHILD_PROCESS_LAUNCHER_H_ |
OLD | NEW |