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

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

Issue 2678373003: [DeviceService] Move PowerMonitor interfaces, client lib, impl to live in Device Service (Closed)
Patch Set: Created 3 years, 10 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
« no previous file with comments | « content/child/DEPS ('k') | content/common/BUILD.gn » ('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_impl.h" 5 #include "content/child/child_thread_impl.h"
6 6
7 #include <signal.h> 7 #include <signal.h>
8 #include <string> 8 #include <string>
9 #include <utility> 9 #include <utility>
10 10
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 #include "content/child/resource_dispatcher.h" 47 #include "content/child/resource_dispatcher.h"
48 #include "content/child/service_worker/service_worker_message_filter.h" 48 #include "content/child/service_worker/service_worker_message_filter.h"
49 #include "content/child/thread_safe_sender.h" 49 #include "content/child/thread_safe_sender.h"
50 #include "content/common/child_process_messages.h" 50 #include "content/common/child_process_messages.h"
51 #include "content/common/in_process_child_thread_params.h" 51 #include "content/common/in_process_child_thread_params.h"
52 #include "content/public/common/connection_filter.h" 52 #include "content/public/common/connection_filter.h"
53 #include "content/public/common/content_switches.h" 53 #include "content/public/common/content_switches.h"
54 #include "content/public/common/mojo_channel_switches.h" 54 #include "content/public/common/mojo_channel_switches.h"
55 #include "content/public/common/service_manager_connection.h" 55 #include "content/public/common/service_manager_connection.h"
56 #include "content/public/common/service_names.mojom.h" 56 #include "content/public/common/service_names.mojom.h"
57 #include "device/power_monitor/public/cpp/power_monitor_broadcast_source.h"
58 #include "ipc/ipc_channel_mojo.h" 57 #include "ipc/ipc_channel_mojo.h"
59 #include "ipc/ipc_logging.h" 58 #include "ipc/ipc_logging.h"
60 #include "ipc/ipc_platform_file.h" 59 #include "ipc/ipc_platform_file.h"
61 #include "ipc/ipc_sync_channel.h" 60 #include "ipc/ipc_sync_channel.h"
62 #include "ipc/ipc_sync_message_filter.h" 61 #include "ipc/ipc_sync_message_filter.h"
63 #include "mojo/edk/embedder/embedder.h" 62 #include "mojo/edk/embedder/embedder.h"
64 #include "mojo/edk/embedder/named_platform_channel_pair.h" 63 #include "mojo/edk/embedder/named_platform_channel_pair.h"
65 #include "mojo/edk/embedder/platform_channel_pair.h" 64 #include "mojo/edk/embedder/platform_channel_pair.h"
66 #include "mojo/edk/embedder/scoped_ipc_support.h" 65 #include "mojo/edk/embedder/scoped_ipc_support.h"
67 #include "mojo/public/cpp/system/buffer.h" 66 #include "mojo/public/cpp/system/buffer.h"
68 #include "mojo/public/cpp/system/platform_handle.h" 67 #include "mojo/public/cpp/system/platform_handle.h"
68 #include "services/device/public/cpp/power_monitor/power_monitor_broadcast_sourc e.h"
69 #include "services/device/public/interfaces/constants.mojom.h" 69 #include "services/device/public/interfaces/constants.mojom.h"
70 #include "services/service_manager/public/cpp/connector.h" 70 #include "services/service_manager/public/cpp/connector.h"
71 #include "services/service_manager/public/cpp/interface_factory.h" 71 #include "services/service_manager/public/cpp/interface_factory.h"
72 #include "services/service_manager/public/cpp/interface_provider.h" 72 #include "services/service_manager/public/cpp/interface_provider.h"
73 #include "services/service_manager/public/cpp/interface_registry.h" 73 #include "services/service_manager/public/cpp/interface_registry.h"
74 #include "services/service_manager/runner/common/client_util.h" 74 #include "services/service_manager/runner/common/client_util.h"
75 75
76 #if defined(OS_POSIX) 76 #if defined(OS_POSIX)
77 #include "base/posix/global_descriptors.h" 77 #include "base/posix/global_descriptors.h"
78 #include "content/public/common/content_descriptors.h" 78 #include "content/public/common/content_descriptors.h"
(...skipping 800 matching lines...) Expand 10 before | Expand all | Expand 10 after
879 connected_to_browser_ = true; 879 connected_to_browser_ = true;
880 child_info_ = local_info; 880 child_info_ = local_info;
881 browser_info_ = remote_info; 881 browser_info_ = remote_info;
882 } 882 }
883 883
884 bool ChildThreadImpl::IsInBrowserProcess() const { 884 bool ChildThreadImpl::IsInBrowserProcess() const {
885 return static_cast<bool>(browser_process_io_runner_); 885 return static_cast<bool>(browser_process_io_runner_);
886 } 886 }
887 887
888 } // namespace content 888 } // namespace content
OLDNEW
« no previous file with comments | « content/child/DEPS ('k') | content/common/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698