OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 #include "chrome/browser/browser_child_process_host.h" | 5 #include "chrome/browser/browser_child_process_host.h" |
6 | 6 |
7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
8 #include "base/file_path.h" | 8 #include "base/file_path.h" |
9 #include "base/lazy_instance.h" | 9 #include "base/lazy_instance.h" |
10 #include "base/logging.h" | 10 #include "base/logging.h" |
11 #include "base/metrics/histogram.h" | 11 #include "base/metrics/histogram.h" |
12 #include "base/path_service.h" | 12 #include "base/path_service.h" |
13 #include "base/process_util.h" | 13 #include "base/process_util.h" |
14 #include "base/stl_util-inl.h" | 14 #include "base/stl_util-inl.h" |
15 #include "base/string_util.h" | 15 #include "base/string_util.h" |
16 #include "chrome/app/breakpad_mac.h" | 16 #include "chrome/app/breakpad_mac.h" |
17 #include "chrome/browser/browser_thread.h" | 17 #include "chrome/browser/browser_thread.h" |
18 #include "chrome/browser/prefs/pref_service.h" | 18 #include "chrome/browser/prefs/pref_service.h" |
19 #include "chrome/common/child_process_logging.h" | 19 #include "chrome/common/child_process_logging.h" |
20 #include "chrome/common/chrome_constants.h" | 20 #include "chrome/common/chrome_constants.h" |
21 #include "chrome/common/chrome_paths_internal.h" | 21 #include "chrome/common/chrome_paths_internal.h" |
22 #include "chrome/common/chrome_switches.h" | 22 #include "chrome/common/chrome_switches.h" |
23 #include "chrome/common/notification_service.h" | 23 #include "chrome/common/notification_service.h" |
24 #include "chrome/common/plugin_messages.h" | 24 #include "chrome/common/plugin_messages.h" |
25 #include "chrome/common/pref_names.h" | |
26 #include "chrome/common/process_watcher.h" | 25 #include "chrome/common/process_watcher.h" |
27 #include "chrome/common/result_codes.h" | 26 #include "chrome/common/result_codes.h" |
28 #include "chrome/installer/util/google_update_settings.h" | 27 #include "chrome/installer/util/google_update_settings.h" |
29 | 28 |
30 #if defined(OS_LINUX) | 29 #if defined(OS_LINUX) |
31 #include "base/linux_util.h" | 30 #include "base/linux_util.h" |
32 #endif // OS_LINUX | 31 #endif // OS_LINUX |
33 | 32 |
34 namespace { | 33 namespace { |
35 | 34 |
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
242 | 241 |
243 return *iterator_; | 242 return *iterator_; |
244 } while (true); | 243 } while (true); |
245 | 244 |
246 return NULL; | 245 return NULL; |
247 } | 246 } |
248 | 247 |
249 bool BrowserChildProcessHost::Iterator::Done() { | 248 bool BrowserChildProcessHost::Iterator::Done() { |
250 return iterator_ == g_child_process_list.Get().end(); | 249 return iterator_ == g_child_process_list.Get().end(); |
251 } | 250 } |
OLD | NEW |