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

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

Issue 11618049: Cleanup: Remove unneeded browser_thread.h includes in contents. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix build Created 7 years, 11 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
OLDNEW
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 #include "content/browser/utility_process_host_impl.h" 5 #include "content/browser/utility_process_host_impl.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/bind_helpers.h" 8 #include "base/bind_helpers.h"
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/sequenced_task_runner.h" 10 #include "base/sequenced_task_runner.h"
11 #include "base/utf_string_conversions.h" 11 #include "base/utf_string_conversions.h"
12 #include "content/browser/browser_child_process_host_impl.h" 12 #include "content/browser/browser_child_process_host_impl.h"
13 #include "content/common/child_process_host_impl.h" 13 #include "content/common/child_process_host_impl.h"
14 #include "content/common/utility_messages.h" 14 #include "content/common/utility_messages.h"
15 #include "content/public/browser/browser_thread.h"
15 #include "content/public/browser/content_browser_client.h" 16 #include "content/public/browser/content_browser_client.h"
16 #include "content/public/browser/utility_process_host_client.h" 17 #include "content/public/browser/utility_process_host_client.h"
17 #include "content/public/common/content_switches.h" 18 #include "content/public/common/content_switches.h"
18 #include "ipc/ipc_switches.h" 19 #include "ipc/ipc_switches.h"
19 #include "ui/base/ui_base_switches.h" 20 #include "ui/base/ui_base_switches.h"
20 #include "webkit/plugins/plugin_switches.h" 21 #include "webkit/plugins/plugin_switches.h"
21 22
22 namespace content { 23 namespace content {
23 24
24 UtilityProcessHost* UtilityProcessHost::Create( 25 UtilityProcessHost* UtilityProcessHost::Create(
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 } 190 }
190 191
191 void UtilityProcessHostImpl::OnProcessCrashed(int exit_code) { 192 void UtilityProcessHostImpl::OnProcessCrashed(int exit_code) {
192 client_task_runner_->PostTask( 193 client_task_runner_->PostTask(
193 FROM_HERE, 194 FROM_HERE,
194 base::Bind(&UtilityProcessHostClient::OnProcessCrashed, client_.get(), 195 base::Bind(&UtilityProcessHostClient::OnProcessCrashed, client_.get(),
195 exit_code)); 196 exit_code));
196 } 197 }
197 198
198 } // namespace content 199 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/utility_process_host_impl.h ('k') | content/public/browser/browser_main_parts.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698