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

Side by Side Diff: content/browser/browser_child_process_host_impl.h

Issue 2447613004: Mojoify PoweMonitorMessageBroadcaster IPC from browser to child process (Closed)
Patch Set: Mojoify PoweMonitorMessageBroadcaster IPC from browser to child process Created 4 years, 1 month 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/browser/DEPS ('k') | content/browser/browser_child_process_host_impl.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 #ifndef CONTENT_BROWSER_BROWSER_CHILD_PROCESS_HOST_IMPL_H_ 5 #ifndef CONTENT_BROWSER_BROWSER_CHILD_PROCESS_HOST_IMPL_H_
6 #define CONTENT_BROWSER_BROWSER_CHILD_PROCESS_HOST_IMPL_H_ 6 #define CONTENT_BROWSER_BROWSER_CHILD_PROCESS_HOST_IMPL_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <list> 10 #include <list>
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 153
154 ChildProcessData data_; 154 ChildProcessData data_;
155 BrowserChildProcessHostDelegate* delegate_; 155 BrowserChildProcessHostDelegate* delegate_;
156 std::unique_ptr<ChildProcessHost> child_process_host_; 156 std::unique_ptr<ChildProcessHost> child_process_host_;
157 157
158 const std::string child_token_; 158 const std::string child_token_;
159 std::unique_ptr<ChildConnection> child_connection_; 159 std::unique_ptr<ChildConnection> child_connection_;
160 160
161 std::unique_ptr<ChildProcessLauncher> child_process_; 161 std::unique_ptr<ChildProcessLauncher> child_process_;
162 162
163 PowerMonitorMessageBroadcaster power_monitor_message_broadcaster_;
164
165 #if defined(OS_WIN) 163 #if defined(OS_WIN)
166 // Watches to see if the child process exits before the IPC channel has 164 // Watches to see if the child process exits before the IPC channel has
167 // been connected. Thereafter, its exit is determined by an error on the 165 // been connected. Thereafter, its exit is determined by an error on the
168 // IPC channel. 166 // IPC channel.
169 base::win::ObjectWatcher early_exit_watcher_; 167 base::win::ObjectWatcher early_exit_watcher_;
170 #endif 168 #endif
171 169
172 // The memory allocator, if any, in which the process will write its metrics. 170 // The memory allocator, if any, in which the process will write its metrics.
173 std::unique_ptr<base::SharedPersistentMemoryAllocator> metrics_allocator_; 171 std::unique_ptr<base::SharedPersistentMemoryAllocator> metrics_allocator_;
174 172
175 bool is_channel_connected_; 173 bool is_channel_connected_;
176 bool notify_child_disconnected_; 174 bool notify_child_disconnected_;
177 175
178 base::WeakPtrFactory<BrowserChildProcessHostImpl> weak_factory_; 176 base::WeakPtrFactory<BrowserChildProcessHostImpl> weak_factory_;
179 }; 177 };
180 178
181 } // namespace content 179 } // namespace content
182 180
183 #endif // CONTENT_BROWSER_BROWSER_CHILD_PROCESS_HOST_IMPL_H_ 181 #endif // CONTENT_BROWSER_BROWSER_CHILD_PROCESS_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/DEPS ('k') | content/browser/browser_child_process_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698