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

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

Issue 2196843003: Blink ServiceRegistry -> InterfaceProvider (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 5 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/ServiceRegistry.cpp
diff --git a/third_party/WebKit/Source/platform/exported/ServiceRegistry.cpp b/third_party/WebKit/Source/platform/exported/ServiceRegistry.cpp
index 77dc18e1a606a4acf830772ab5f19ac6247387fe..960bf0289650a375ebe1afdea10d88bf14b71b50 100644
--- a/third_party/WebKit/Source/platform/exported/ServiceRegistry.cpp
+++ b/third_party/WebKit/Source/platform/exported/ServiceRegistry.cpp
@@ -2,23 +2,23 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "public/platform/ServiceRegistry.h"
+#include "public/platform/InterfaceProvider.h"
#include "wtf/StdLibExtras.h"
namespace blink {
namespace {
-class EmptyServiceRegistry : public ServiceRegistry {
- void connectToRemoteService(const char* name, mojo::ScopedMessagePipeHandle) override {}
+class EmptyInterfaceProvider : public InterfaceProvider {
+ void getInterface(const char* name, mojo::ScopedMessagePipeHandle) override {}
};
}
-ServiceRegistry* ServiceRegistry::getEmptyServiceRegistry()
+InterfaceProvider* InterfaceProvider::getEmptyInterfaceProvider()
{
- DEFINE_STATIC_LOCAL(EmptyServiceRegistry, emptyServiceRegistry, ());
- return &emptyServiceRegistry;
+ DEFINE_STATIC_LOCAL(EmptyInterfaceProvider, emptyInterfaceProvider, ());
+ return &emptyInterfaceProvider;
}
}

Powered by Google App Engine
This is Rietveld 408576698