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

Unified Diff: third_party/WebKit/Source/platform/exported/Platform.cpp

Issue 2643063002: Refactor Blink's ServiceConnector and add ability to mock in layout tests (Closed)
Patch Set: Rebase Created 3 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
Index: third_party/WebKit/Source/platform/exported/Platform.cpp
diff --git a/third_party/WebKit/Source/platform/exported/Platform.cpp b/third_party/WebKit/Source/platform/exported/Platform.cpp
index 9cc246e98c19e962e44427a304c646520ea95ee6..6c296448e394a04d7e4402fe7a021444d3b0144a 100644
--- a/third_party/WebKit/Source/platform/exported/Platform.cpp
+++ b/third_party/WebKit/Source/platform/exported/Platform.cpp
@@ -37,6 +37,7 @@
#include "platform/heap/BlinkGCMemoryDumpProvider.h"
#include "platform/heap/GCTaskRunner.h"
#include "platform/instrumentation/tracing/MemoryCacheDumpProvider.h"
+#include "public/platform/Connector.h"
#include "public/platform/InterfaceProvider.h"
#include "public/platform/Platform.h"
#include "public/platform/WebPrerenderingSupport.h"
@@ -147,11 +148,12 @@ WebThread* Platform::mainThread() const {
return m_mainThread;
}
+Connector* Platform::connector() {
+ return Connector::getEmptyConnector();
+}
+
InterfaceProvider* Platform::interfaceProvider() {
return InterfaceProvider::getEmptyInterfaceProvider();
}
-void Platform::bindServiceConnector(
- mojo::ScopedMessagePipeHandle remoteHandle) {}
-
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698