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

Unified Diff: content/child/child_thread_impl.cc

Issue 2433203003: Mojoify PoweMonitorMessageBroadcaster IPC from browser to child process (Closed)
Patch Set: code rebase Created 4 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/child/DEPS ('k') | content/child/power_monitor_broadcast_source.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/child_thread_impl.cc
diff --git a/content/child/child_thread_impl.cc b/content/child/child_thread_impl.cc
index dca6c148fd0099de922908aa3806598dc86c3e92..8cd4f524326e5182e999e7e0ac34761c1e8a23ac 100644
--- a/content/child/child_thread_impl.cc
+++ b/content/child/child_thread_impl.cc
@@ -513,8 +513,6 @@ void ChildThreadImpl::Init(const Options& options) {
if (!base::PowerMonitor::Get()) {
std::unique_ptr<PowerMonitorBroadcastSource> power_monitor_source(
new PowerMonitorBroadcastSource());
- channel_->AddFilter(power_monitor_source->GetMessageFilter());
-
power_monitor_.reset(
new base::PowerMonitor(std::move(power_monitor_source)));
}
« no previous file with comments | « content/child/DEPS ('k') | content/child/power_monitor_broadcast_source.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698