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

Unified Diff: content/browser/browser_child_process_host_impl.cc

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 side-by-side diff with in-line comments
Download patch
Index: content/browser/browser_child_process_host_impl.cc
diff --git a/content/browser/browser_child_process_host_impl.cc b/content/browser/browser_child_process_host_impl.cc
index 47d2833487960a8ac0a1e1e204e2ee4740bc36ae..c9111f13740a04879e5b31dc49c85300bcee7c1c 100644
--- a/content/browser/browser_child_process_host_impl.cc
+++ b/content/browser/browser_child_process_host_impl.cc
@@ -27,7 +27,6 @@
#include "content/browser/histogram_message_filter.h"
#include "content/browser/loader/resource_message_filter.h"
#include "content/browser/memory/memory_message_filter.h"
-#include "content/browser/power_monitor_message_broadcaster.h"
#include "content/browser/profiler_message_filter.h"
#include "content/browser/service_manager/service_manager_context.h"
#include "content/browser/tracing/trace_message_filter.h"
@@ -46,6 +45,7 @@
#include "content/public/common/process_type.h"
#include "content/public/common/result_codes.h"
#include "content/public/common/service_manager_connection.h"
+#include "device/power_monitor/power_monitor_message_broadcaster.h"
#include "mojo/edk/embedder/embedder.h"
#include "services/service_manager/public/cpp/interface_registry.h"
@@ -96,7 +96,8 @@ class ConnectionFilterImpl : public ConnectionFilter {
bool OnConnect(const service_manager::Identity& remote_identity,
service_manager::InterfaceRegistry* registry,
service_manager::Connector* connector) override {
- registry->AddInterface(base::Bind(&PowerMonitorMessageBroadcaster::Create));
+ registry->AddInterface(
+ base::Bind(&device::PowerMonitorMessageBroadcaster::Create));
return true;
}
« no previous file with comments | « content/browser/browser_child_process_host_impl.h ('k') | content/browser/power_monitor_message_broadcaster.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698