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

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: fix compile Created 3 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
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 08cf4d5d348da77a984e7d7c6d26eed0ea9ab7ca..778123c4c0f18b5c890f697fc21be8c7402f908e 100644
--- a/third_party/WebKit/Source/platform/exported/Platform.cpp
+++ b/third_party/WebKit/Source/platform/exported/Platform.cpp
@@ -28,6 +28,8 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#include "public/platform/Platform.h"
+
#include "base/threading/thread_task_runner_handle.h"
#include "base/trace_event/memory_dump_manager.h"
#include "platform/Histogram.h"
@@ -37,8 +39,8 @@
#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"
#include "wtf/HashMap.h"
@@ -118,11 +120,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