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

Unified Diff: public/platform/WebNavigatorConnectProvider.h

Issue 1198653004: Update client side navigator.connect API to use ServicePortCollection [3/3] (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@serviceport-part2
Patch Set: rebase Created 5 years, 6 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
« no previous file with comments | « Source/modules/navigatorconnect/WorkerNavigatorConnect.idl ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/platform/WebNavigatorConnectProvider.h
diff --git a/public/platform/WebNavigatorConnectProvider.h b/public/platform/WebNavigatorConnectProvider.h
deleted file mode 100644
index bfb87686fa37d3ef5659a1da8df957875d1dfb38..0000000000000000000000000000000000000000
--- a/public/platform/WebNavigatorConnectProvider.h
+++ /dev/null
@@ -1,34 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef WebNavigatorConnectProvider_h
-#define WebNavigatorConnectProvider_h
-
-#include "WebCallbacks.h"
-
-namespace blink {
-
-class WebMessagePortChannel;
-class WebString;
-class WebURL;
-
-typedef WebCallbacks<void, void> WebNavigatorConnectCallbacks;
-typedef WebCallbacks<WebMessagePortChannel, void> WebNavigatorConnectPortCallbacks;
-
-class WebNavigatorConnectProvider {
-public:
- virtual ~WebNavigatorConnectProvider() { }
-
- // Initiates a connection from the given origin to the given URL. When
- // successful the service can communicate with the client over the given
- // channel. The origin isn't passed as WebSecurityOrigin because that would
- // be a layering violation (platform/ code shouldn't depend on web/ code).
- // Ownership of the WebMessagePortChannel and WebNavigatorConnectCallbacks
- // objects are both transferred to the provider.
- virtual void connect(const WebURL&, const WebString& origin, WebNavigatorConnectPortCallbacks*) { }
-};
-
-} // namespace blink
-
-#endif // WebNavigatorConnectProvider_h
« no previous file with comments | « Source/modules/navigatorconnect/WorkerNavigatorConnect.idl ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698