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

Side by Side Diff: content/common/child_process_host_impl.cc

Issue 2833873003: WIP: The tracing service prototype
Patch Set: sync Created 3 years, 7 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
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/common/child_process_host_impl.h" 5 #include "content/common/child_process_host_impl.h"
6 6
7 #include <limits> 7 #include <limits>
8 8
9 #include "base/atomic_sequence_num.h" 9 #include "base/atomic_sequence_num.h"
10 #include "base/command_line.h" 10 #include "base/command_line.h"
(...skipping 14 matching lines...) Expand all
25 #include "content/common/child_process_messages.h" 25 #include "content/common/child_process_messages.h"
26 #include "content/public/common/child_process_host_delegate.h" 26 #include "content/public/common/child_process_host_delegate.h"
27 #include "content/public/common/content_paths.h" 27 #include "content/public/common/content_paths.h"
28 #include "content/public/common/content_switches.h" 28 #include "content/public/common/content_switches.h"
29 #include "ipc/ipc.mojom.h" 29 #include "ipc/ipc.mojom.h"
30 #include "ipc/ipc_channel.h" 30 #include "ipc/ipc_channel.h"
31 #include "ipc/ipc_channel_mojo.h" 31 #include "ipc/ipc_channel_mojo.h"
32 #include "ipc/ipc_logging.h" 32 #include "ipc/ipc_logging.h"
33 #include "ipc/message_filter.h" 33 #include "ipc/message_filter.h"
34 #include "mojo/edk/embedder/embedder.h" 34 #include "mojo/edk/embedder/embedder.h"
35 #include "services/resource_coordinator/public/interfaces/memory/constants.mojom .h" 35 #include "services/resource_coordinator/public/interfaces/memory/memory_constant s.mojom.h"
36 #include "services/service_manager/public/cpp/interface_provider.h" 36 #include "services/service_manager/public/cpp/interface_provider.h"
37 37
38 #if defined(OS_LINUX) 38 #if defined(OS_LINUX)
39 #include "base/linux_util.h" 39 #include "base/linux_util.h"
40 #elif defined(OS_WIN) 40 #elif defined(OS_WIN)
41 #include "content/common/font_cache_dispatcher_win.h" 41 #include "content/common/font_cache_dispatcher_win.h"
42 #endif // OS_LINUX 42 #endif // OS_LINUX
43 43
44 namespace { 44 namespace {
45 45
(...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after
277 void ChildProcessHostImpl::OnBadMessageReceived(const IPC::Message& message) { 277 void ChildProcessHostImpl::OnBadMessageReceived(const IPC::Message& message) {
278 delegate_->OnBadMessageReceived(message); 278 delegate_->OnBadMessageReceived(message);
279 } 279 }
280 280
281 void ChildProcessHostImpl::OnShutdownRequest() { 281 void ChildProcessHostImpl::OnShutdownRequest() {
282 if (delegate_->CanShutdown()) 282 if (delegate_->CanShutdown())
283 Send(new ChildProcessMsg_Shutdown()); 283 Send(new ChildProcessMsg_Shutdown());
284 } 284 }
285 285
286 } // namespace content 286 } // namespace content
OLDNEW
« no previous file with comments | « content/child/child_thread_impl.cc ('k') | content/public/app/mojo/content_browser_manifest.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698