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

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

Issue 845673004: Add BatteryMonitorIntegrationBrowsertest::GetAdditionalMappedFilesForChildProcess for returning req… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Patch for landing Created 5 years, 11 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 7b60ff60a2a8092b52a839bcce10e5ef40bb0589..8bf1ca40b6d4be760bb4cc4f9845efe4a1d94f7f 100644
--- a/content/browser/battery_status/battery_monitor_integration_browsertest.cc
+++ b/content/browser/battery_status/battery_monitor_integration_browsertest.cc
@@ -91,6 +91,16 @@ class TestContentBrowserClient : public ContentBrowserClient {
void OverrideRenderProcessMojoServices(ServiceRegistry* registry) override {
registry->AddService(base::Bind(&FakeBatteryMonitor::Create));
}
+
+#if defined(OS_ANDROID)
+ void GetAdditionalMappedFilesForChildProcess(
+ const base::CommandLine& command_line,
+ int child_process_id,
+ FileDescriptorInfo* mappings) override {
+ ShellContentBrowserClient::Get()->GetAdditionalMappedFilesForChildProcess(
+ command_line, child_process_id, mappings);
+ }
+#endif // defined(OS_ANDROID)
};
class BatteryMonitorIntegrationTest : public ContentBrowserTest {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698