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

Unified Diff: chrome/common/extensions/api/gcd_private.idl

Issue 1103603002: Remove deprecated function gcdPrivate.establishSession (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Wed Apr 22 22:29:12 PDT 2015 Created 5 years, 8 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: chrome/common/extensions/api/gcd_private.idl
diff --git a/chrome/common/extensions/api/gcd_private.idl b/chrome/common/extensions/api/gcd_private.idl
index 36e8a9af67fbf149731528721c2bce132dafce97..9f275f3724b58ab7fddd94a259ddb4356d22a4e7 100644
--- a/chrome/common/extensions/api/gcd_private.idl
+++ b/chrome/common/extensions/api/gcd_private.idl
@@ -91,9 +91,9 @@ namespace gcdPrivate {
// |sessionId| : The session ID (identifies the session for future calls).
// |status| : The status of operation (success or type of error).
// |pairingTypes| is the list of supported pairing types.
- callback EstablishSessionCallback = void(long sessionId,
- Status status,
- PairingType[] pairingTypes);
+ callback CreateSessionCallback = void(long sessionId,
+ Status status,
+ PairingType[] pairingTypes);
// Called when the response to the message sent is available or on error.
// |status| : The status of operation (success or type of error).
@@ -129,19 +129,10 @@ namespace gcdPrivate {
// Get the list of SSIDs with prefetched callbacks.
static void getPrefetchedWifiNameList(SSIDListCallback callback);
- // Deprecated. Establish the session.
- // TODO(vitalybuka): Remove after uptate of apps using this.
- // http://crbug.com/461504
- // |ipAddress| : The IPv4 or IPv6 address of the device.
- // |port| : The port with Privet HTTP server.
- static void establishSession(DOMString ipAddress,
- long port,
- EstablishSessionCallback callback);
-
// Create new pairing.
// |serviceName| : The mDns service name of the device.
static void createSession(DOMString serviceName,
- EstablishSessionCallback callback);
+ CreateSessionCallback callback);
// Start pairing with selected method. Should be called after
// |establishSession|.

Powered by Google App Engine
This is Rietveld 408576698