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

Unified Diff: content/browser/renderer_host/render_process_host_impl.cc

Issue 2510033002: [Device Service] Move PowerMonitor into the Device Service (Closed)
Patch Set: 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/renderer_host/render_process_host_impl.cc
diff --git a/content/browser/renderer_host/render_process_host_impl.cc b/content/browser/renderer_host/render_process_host_impl.cc
index 48d69aa21d5ad28cb4dc478172c1ffc9564f391f..b4a7763526806aae94795a653c7252a59752ec92 100644
--- a/content/browser/renderer_host/render_process_host_impl.cc
+++ b/content/browser/renderer_host/render_process_host_impl.cc
@@ -162,7 +162,6 @@
#include "content/public/common/service_names.h"
#include "content/public/common/url_constants.h"
#include "device/battery/battery_monitor_impl.h"
-#include "device/power_monitor/power_monitor_message_broadcaster.h"
#include "device/time_zone_monitor/time_zone_monitor.h"
#include "gpu/GLES2/gl2extchromium.h"
#include "gpu/command_buffer/client/gpu_switches.h"
@@ -1251,10 +1250,6 @@ void RenderProcessHostImpl::RegisterMojoInterfaces() {
base::Unretained(
BrowserMainLoop::GetInstance()->time_zone_monitor())));
- AddUIThreadInterface(
- registry.get(),
- base::Bind(&device::PowerMonitorMessageBroadcaster::Create));
-
scoped_refptr<base::SingleThreadTaskRunner> file_task_runner =
BrowserThread::GetTaskRunnerForThread(BrowserThread::FILE);
registry->AddInterface(base::Bind(&MimeRegistryImpl::Create),

Powered by Google App Engine
This is Rietveld 408576698