Index: third_party/WebKit/public/web/WebFrameClient.h |
diff --git a/third_party/WebKit/public/web/WebFrameClient.h b/third_party/WebKit/public/web/WebFrameClient.h |
index 5fd21c9dc1ceb855c01633ff06731e3ecf9f89b1..5381d80d61b9e25bcda701d9c161112345e8dc0c 100644 |
--- a/third_party/WebKit/public/web/WebFrameClient.h |
+++ b/third_party/WebKit/public/web/WebFrameClient.h |
@@ -46,6 +46,7 @@ |
#include "WebSandboxFlags.h" |
#include "WebTextDirection.h" |
#include "public/platform/BlameContext.h" |
+#include "public/platform/ServiceRegistry.h" |
#include "public/platform/WebCommon.h" |
#include "public/platform/WebFileSystem.h" |
#include "public/platform/WebFileSystemType.h" |
@@ -60,6 +61,7 @@ |
namespace blink { |
enum class WebTreeScopeType; |
+class ServiceRegistry; |
class WebApplicationCacheHost; |
class WebApplicationCacheHostClient; |
class WebAppBannerClient; |
@@ -723,6 +725,9 @@ public: |
// This method takes ownership of the callbacks pointer. |
virtual void checkIfAudioSinkExistsAndIsAuthorized(const WebString& sinkId, const WebSecurityOrigin&, WebSetSinkIdCallbacks*) { BLINK_ASSERT_NOT_REACHED(); } |
+ // Mojo ---------------------------------------------------------------- |
+ virtual ServiceRegistry* serviceRegistry() { return ServiceRegistry::getEmptyServiceRegistry(); } |
+ |
protected: |
virtual ~WebFrameClient() { } |
}; |