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

Unified Diff: Source/modules/navigatorconnect/NavigatorConnect.cpp

Issue 831613002: Add WebNavigatorConnectCallbacks typedef. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: make ConnectCallbacks be declared in terms of added typedef Created 6 years 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 | « no previous file | public/platform/WebNavigatorConnectProvider.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/navigatorconnect/NavigatorConnect.cpp
diff --git a/Source/modules/navigatorconnect/NavigatorConnect.cpp b/Source/modules/navigatorconnect/NavigatorConnect.cpp
index 94c6e1cf9edc0458220c7326f955b3dbbe9b4009..e63660f4d9772f1976e5c1048be673768f7651b9 100644
--- a/Source/modules/navigatorconnect/NavigatorConnect.cpp
+++ b/Source/modules/navigatorconnect/NavigatorConnect.cpp
@@ -11,14 +11,13 @@
#include "core/dom/MessageChannel.h"
#include "core/dom/MessagePort.h"
#include "public/platform/Platform.h"
-#include "public/platform/WebCallbacks.h"
#include "public/platform/WebNavigatorConnectProvider.h"
namespace blink {
namespace {
-class ConnectCallbacks : public WebCallbacks<void, void> {
+class ConnectCallbacks : public WebNavigatorConnectCallbacks {
public:
ConnectCallbacks(PassRefPtrWillBeRawPtr<ScriptPromiseResolver> resolver, PassRefPtrWillBeRawPtr<MessagePort> port)
: m_resolver(resolver), m_port(port)
« no previous file with comments | « no previous file | public/platform/WebNavigatorConnectProvider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698