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

Unified Diff: third_party/WebKit/Source/platform/testing/TestingPlatformSupport.cpp

Issue 1835873002: Removes BatteryDispatcherProxy. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixes export settings again. Created 4 years, 9 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 | « third_party/WebKit/Source/platform/blink_platform_tests.gyp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..6f9bf9c0f5f809e0d282b5ea6d28553f25e0f6bf 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()
@@ -76,14 +72,6 @@ WebUnitTestSupport* TestingPlatformSupport::unitTestSupport()
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();
}
« no previous file with comments | « third_party/WebKit/Source/platform/blink_platform_tests.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698