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_UTILITY_PROCESS_HOST_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_UTILITY_PROCESS_HOST_IMPL_H_ |
6 #define CONTENT_BROWSER_UTILITY_PROCESS_HOST_IMPL_H_ | 6 #define CONTENT_BROWSER_UTILITY_PROCESS_HOST_IMPL_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 | 76 |
77 // Launch the utility process from the zygote. Defaults to false. | 77 // Launch the utility process from the zygote. Defaults to false. |
78 bool use_linux_zygote_; | 78 bool use_linux_zygote_; |
79 | 79 |
80 base::EnvironmentVector env_; | 80 base::EnvironmentVector env_; |
81 | 81 |
82 bool started_; | 82 bool started_; |
83 | 83 |
84 scoped_ptr<BrowserChildProcessHostImpl> process_; | 84 scoped_ptr<BrowserChildProcessHostImpl> process_; |
85 | 85 |
| 86 #if !defined(CHROME_MULTIPLE_DLL) |
86 // Used in single-process mode instead of process_. | 87 // Used in single-process mode instead of process_. |
87 scoped_ptr<UtilityMainThread> in_process_thread_; | 88 scoped_ptr<UtilityMainThread> in_process_thread_; |
| 89 #endif |
88 | 90 |
89 DISALLOW_COPY_AND_ASSIGN(UtilityProcessHostImpl); | 91 DISALLOW_COPY_AND_ASSIGN(UtilityProcessHostImpl); |
90 }; | 92 }; |
91 | 93 |
92 } // namespace content | 94 } // namespace content |
93 | 95 |
94 #endif // CONTENT_BROWSER_UTILITY_PROCESS_HOST_IMPL_H_ | 96 #endif // CONTENT_BROWSER_UTILITY_PROCESS_HOST_IMPL_H_ |
OLD | NEW |