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

Unified Diff: content/browser/battery_status/battery_monitor_integration_browsertest.cc

Issue 2060943005: Enable content embedder register mojo services with RPH-specific information. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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
Index: content/browser/battery_status/battery_monitor_integration_browsertest.cc
diff --git a/content/browser/battery_status/battery_monitor_integration_browsertest.cc b/content/browser/battery_status/battery_monitor_integration_browsertest.cc
index 2851c50b6136e14f51a4a12551ed628cbc19b450..8356f52a62fd02a5d6dfffd9bc0c4bd969ba2549 100644
--- a/content/browser/battery_status/battery_monitor_integration_browsertest.cc
+++ b/content/browser/battery_status/battery_monitor_integration_browsertest.cc
@@ -91,7 +91,9 @@ class FakeBatteryMonitor : public device::BatteryMonitor {
// declared above.
class TestContentBrowserClient : public ContentBrowserClient {
public:
- void RegisterRenderProcessMojoServices(ServiceRegistry* registry) override {
+ void RegisterRenderProcessMojoServices(
+ ServiceRegistry* registry,
+ RenderProcessHost* render_process_host) override {
registry->AddService(base::Bind(&FakeBatteryMonitor::Create));
}
« no previous file with comments | « chrome/browser/chrome_content_browser_client.cc ('k') | content/browser/renderer_host/render_process_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698