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

Unified Diff: remoting/android/java/src/org/chromium/chromoting/SessionConnector.java

Issue 1968283002: Implementing Host List Context Menu and Delete Feature (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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: remoting/android/java/src/org/chromium/chromoting/SessionConnector.java
diff --git a/remoting/android/java/src/org/chromium/chromoting/SessionConnector.java b/remoting/android/java/src/org/chromium/chromoting/SessionConnector.java
index 8e06360aee8f424e2cd2b6184f347a5f24c7a356..fedcea2b6419da88d135c23dee4360613334dee4 100644
--- a/remoting/android/java/src/org/chromium/chromoting/SessionConnector.java
+++ b/remoting/android/java/src/org/chromium/chromoting/SessionConnector.java
@@ -136,7 +136,7 @@ public class SessionConnector implements ConnectionListener, HostListManager.Cal
}
@Override
- public void onError(HostListManager.Error error) {
+ public void onError(HostListManager.RequestType type, HostListManager.Error error) {
// Connection failed and reloading the host list also failed, so report the connection
// error.
mConnectionListener.onConnectionState(ConnectionListener.State.FAILED,
@@ -144,6 +144,6 @@ public class SessionConnector implements ConnectionListener, HostListManager.Cal
// Notify the caller that the host list failed to load, so the UI is updated accordingly.
// The currently-displayed host list is not likely to be valid any more.
- mHostListCallback.onError(error);
+ mHostListCallback.onError(type, error);
}
}

Powered by Google App Engine
This is Rietveld 408576698