OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 "content/browser/browser_child_process_host.h" | 5 #include "content/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.h" |
15 #include "base/string_util.h" | 15 #include "base/string_util.h" |
16 #include "content/browser/browser_thread.h" | 16 #include "content/browser/browser_thread.h" |
17 #include "content/browser/content_browser_client.h" | 17 #include "content/browser/content_browser_client.h" |
18 #include "content/browser/renderer_host/resource_message_filter.h" | 18 #include "content/browser/renderer_host/resource_message_filter.h" |
19 #include "content/browser/trace_message_filter.h" | 19 #include "content/browser/trace_message_filter.h" |
20 #include "content/common/content_switches.h" | 20 #include "content/common/content_switches.h" |
21 #include "content/common/notification_service.h" | 21 #include "content/common/notification_service.h" |
22 #include "content/common/plugin_messages.h" | 22 #include "content/common/plugin_messages.h" |
23 #include "content/common/process_watcher.h" | 23 #include "content/common/process_watcher.h" |
24 #include "content/common/result_codes.h" | 24 #include "content/common/result_codes.h" |
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
205 | 205 |
206 return *iterator_; | 206 return *iterator_; |
207 } while (true); | 207 } while (true); |
208 | 208 |
209 return NULL; | 209 return NULL; |
210 } | 210 } |
211 | 211 |
212 bool BrowserChildProcessHost::Iterator::Done() { | 212 bool BrowserChildProcessHost::Iterator::Done() { |
213 return iterator_ == g_child_process_list.Get().end(); | 213 return iterator_ == g_child_process_list.Get().end(); |
214 } | 214 } |
OLD | NEW |