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

Side by Side Diff: content/child/child_thread.cc

Issue 19463008: Use a direct include of the message_loop header in content/, part 3. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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/child/child_process.cc ('k') | content/child/resource_dispatcher.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) 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/child/child_thread.h" 5 #include "content/child/child_thread.h"
6 6
7 #include "base/allocator/allocator_extension.h" 7 #include "base/allocator/allocator_extension.h"
8 #include "base/base_switches.h" 8 #include "base/base_switches.h"
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/lazy_instance.h" 10 #include "base/lazy_instance.h"
11 #include "base/message_loop.h" 11 #include "base/message_loop/message_loop.h"
12 #include "base/process.h" 12 #include "base/process.h"
13 #include "base/process_util.h" 13 #include "base/process_util.h"
14 #include "base/strings/string_util.h" 14 #include "base/strings/string_util.h"
15 #include "base/threading/thread_local.h" 15 #include "base/threading/thread_local.h"
16 #include "base/tracked_objects.h" 16 #include "base/tracked_objects.h"
17 #include "components/tracing/child_trace_message_filter.h" 17 #include "components/tracing/child_trace_message_filter.h"
18 #include "content/child/child_histogram_message_filter.h" 18 #include "content/child/child_histogram_message_filter.h"
19 #include "content/child/child_process.h" 19 #include "content/child/child_process.h"
20 #include "content/child/child_resource_message_filter.h" 20 #include "content/child/child_resource_message_filter.h"
21 #include "content/child/fileapi/file_system_dispatcher.h" 21 #include "content/child/fileapi/file_system_dispatcher.h"
(...skipping 366 matching lines...) Expand 10 before | Expand all | Expand 10 after
388 // inflight that would addref it. 388 // inflight that would addref it.
389 Send(new ChildProcessHostMsg_ShutdownRequest); 389 Send(new ChildProcessHostMsg_ShutdownRequest);
390 } 390 }
391 391
392 void ChildThread::EnsureConnected() { 392 void ChildThread::EnsureConnected() {
393 LOG(INFO) << "ChildThread::EnsureConnected()"; 393 LOG(INFO) << "ChildThread::EnsureConnected()";
394 base::KillProcess(base::GetCurrentProcessHandle(), 0, false); 394 base::KillProcess(base::GetCurrentProcessHandle(), 0, false);
395 } 395 }
396 396
397 } // namespace content 397 } // namespace content
OLDNEW
« no previous file with comments | « content/child/child_process.cc ('k') | content/child/resource_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698