| Index: third_party/WebKit/Source/platform/testing/TestingPlatformSupport.cpp
|
| diff --git a/third_party/WebKit/Source/platform/testing/TestingPlatformSupport.cpp b/third_party/WebKit/Source/platform/testing/TestingPlatformSupport.cpp
|
| index d5b52cd3bd3968ed155c571d66bc0a11763681cc..a81538a7137a27bc27c51ee0f462f31f7dec047a 100644
|
| --- a/third_party/WebKit/Source/platform/testing/TestingPlatformSupport.cpp
|
| +++ b/third_party/WebKit/Source/platform/testing/TestingPlatformSupport.cpp
|
| @@ -30,10 +30,6 @@
|
|
|
| #include "platform/testing/TestingPlatformSupport.h"
|
|
|
| -#if !OS(ANDROID)
|
| -#include "device/battery/battery_monitor_impl.h"
|
| -#endif
|
| -
|
| namespace blink {
|
|
|
| TestingPlatformSupport::TestingPlatformSupport()
|
| @@ -74,19 +70,6 @@ WebUnitTestSupport* TestingPlatformSupport::unitTestSupport()
|
| return m_oldPlatform ? m_oldPlatform->unitTestSupport() : nullptr;
|
| }
|
|
|
| -void TestingPlatformSupport::connectToRemoteService(const char* name, mojo::ScopedMessagePipeHandle handle)
|
| -{
|
| -#if !OS(ANDROID)
|
| - if (std::strcmp(name, device::BatteryMonitor::Name_) == 0) {
|
| - device::BatteryMonitorImpl::Create(
|
| - mojo::MakeRequest<device::BatteryMonitor>(std::move(handle)));
|
| - return;
|
| - }
|
| -#endif
|
| -
|
| - ASSERT_NOT_REACHED();
|
| -}
|
| -
|
| class TestingPlatformMockWebTaskRunner : public WebTaskRunner {
|
| WTF_MAKE_NONCOPYABLE(TestingPlatformMockWebTaskRunner);
|
| public:
|
|
|