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

Side by Side Diff: content/browser/browser_child_process_host.cc

Issue 7046114: Remove content dependency on chrome/browser/accessibility/browser_accessibility_state.h and chrom... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 6 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
« no previous file with comments | « content/browser/DEPS ('k') | content/browser/browsing_instance.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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-inl.h"
15 #include "base/string_util.h" 15 #include "base/string_util.h"
16 #include "chrome/common/chrome_constants.h" 16 #include "chrome/common/chrome_constants.h"
17 #include "chrome/common/chrome_switches.h"
18 #include "content/browser/browser_thread.h" 17 #include "content/browser/browser_thread.h"
19 #include "content/browser/content_browser_client.h" 18 #include "content/browser/content_browser_client.h"
20 #include "content/browser/renderer_host/resource_message_filter.h" 19 #include "content/browser/renderer_host/resource_message_filter.h"
21 #include "content/browser/trace_message_filter.h" 20 #include "content/browser/trace_message_filter.h"
21 #include "content/common/content_switches.h"
22 #include "content/common/notification_service.h" 22 #include "content/common/notification_service.h"
23 #include "content/common/plugin_messages.h" 23 #include "content/common/plugin_messages.h"
24 #include "content/common/process_watcher.h" 24 #include "content/common/process_watcher.h"
25 #include "content/common/result_codes.h" 25 #include "content/common/result_codes.h"
26 26
27 namespace { 27 namespace {
28 28
29 typedef std::list<BrowserChildProcessHost*> ChildProcessList; 29 typedef std::list<BrowserChildProcessHost*> ChildProcessList;
30 static base::LazyInstance<ChildProcessList> g_child_process_list( 30 static base::LazyInstance<ChildProcessList> g_child_process_list(
31 base::LINKER_INITIALIZED); 31 base::LINKER_INITIALIZED);
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
201 201
202 return *iterator_; 202 return *iterator_;
203 } while (true); 203 } while (true);
204 204
205 return NULL; 205 return NULL;
206 } 206 }
207 207
208 bool BrowserChildProcessHost::Iterator::Done() { 208 bool BrowserChildProcessHost::Iterator::Done() {
209 return iterator_ == g_child_process_list.Get().end(); 209 return iterator_ == g_child_process_list.Get().end();
210 } 210 }
OLDNEW
« no previous file with comments | « content/browser/DEPS ('k') | content/browser/browsing_instance.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698