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

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

Issue 2460823002: Decouple Power Monitor from //content. (Closed)
Patch Set: code rebase 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/BUILD.gn ('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>
11 #include <memory> 11 #include <memory>
12 12
13 #include "base/compiler_specific.h" 13 #include "base/compiler_specific.h"
14 #include "base/memory/ref_counted.h" 14 #include "base/memory/ref_counted.h"
15 #include "base/memory/shared_memory.h" 15 #include "base/memory/shared_memory.h"
16 #include "base/memory/weak_ptr.h" 16 #include "base/memory/weak_ptr.h"
17 #include "base/process/process.h" 17 #include "base/process/process.h"
18 #include "base/single_thread_task_runner.h" 18 #include "base/single_thread_task_runner.h"
19 #include "base/synchronization/waitable_event_watcher.h" 19 #include "base/synchronization/waitable_event_watcher.h"
20 #include "build/build_config.h" 20 #include "build/build_config.h"
21 #include "content/browser/child_process_launcher.h" 21 #include "content/browser/child_process_launcher.h"
22 #include "content/browser/power_monitor_message_broadcaster.h"
23 #include "content/public/browser/browser_child_process_host.h" 22 #include "content/public/browser/browser_child_process_host.h"
24 #include "content/public/browser/child_process_data.h" 23 #include "content/public/browser/child_process_data.h"
25 #include "content/public/common/child_process_host_delegate.h" 24 #include "content/public/common/child_process_host_delegate.h"
26 25
27 #if defined(OS_WIN) 26 #if defined(OS_WIN)
28 #include "base/win/object_watcher.h" 27 #include "base/win/object_watcher.h"
29 #endif 28 #endif
30 29
31 namespace base { 30 namespace base {
32 class CommandLine; 31 class CommandLine;
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 169
171 bool is_channel_connected_; 170 bool is_channel_connected_;
172 bool notify_child_disconnected_; 171 bool notify_child_disconnected_;
173 172
174 base::WeakPtrFactory<BrowserChildProcessHostImpl> weak_factory_; 173 base::WeakPtrFactory<BrowserChildProcessHostImpl> weak_factory_;
175 }; 174 };
176 175
177 } // namespace content 176 } // namespace content
178 177
179 #endif // CONTENT_BROWSER_BROWSER_CHILD_PROCESS_HOST_IMPL_H_ 178 #endif // CONTENT_BROWSER_BROWSER_CHILD_PROCESS_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/BUILD.gn ('k') | content/browser/browser_child_process_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698