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

Unified Diff: remoting/android/host/src/org/chromium/chromoting/host/jni/It2MeHostObserver.java

Issue 2358083003: [remoting android] Remove host It2Me implementation. (Closed)
Patch Set: Update remoting/host/it2me/ Created 4 years, 3 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 | « remoting/android/host/src/org/chromium/chromoting/host/jni/Host.java ('k') | remoting/host/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/android/host/src/org/chromium/chromoting/host/jni/It2MeHostObserver.java
diff --git a/remoting/android/host/src/org/chromium/chromoting/host/jni/It2MeHostObserver.java b/remoting/android/host/src/org/chromium/chromoting/host/jni/It2MeHostObserver.java
deleted file mode 100644
index 50605ee194e3f01a11819e022663a8ac4ac9ae41..0000000000000000000000000000000000000000
--- a/remoting/android/host/src/org/chromium/chromoting/host/jni/It2MeHostObserver.java
+++ /dev/null
@@ -1,34 +0,0 @@
-// Copyright 2016 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.
-
-package org.chromium.chromoting.host.jni;
-
-/** Interface for receiving events from the C++ implementation of It2MeHost. */
-public interface It2MeHostObserver {
- /** This corresponds to the C++ enumeration remoting::It2MeHostState. */
- public enum State {
- DISCONNECTED,
- STARTING,
- REQUESTED_ACCESS_CODE,
- RECEIVED_ACCESS_CODE,
- CONNECTED,
- ERROR,
- INVALID_DOMAIN_ERROR;
- }
-
- /**
- * Called when a new It2Me access-code is received.
- * @param accessCode The access code for the It2Me session.
- * @param lifetimeSeconds Duration for which the access-code remains valid.
- */
- void onAccessCodeReceived(String accessCode, int lifetimeSeconds);
-
- /**
- * Called when the state has changed.
- * @param state The new state.
- * @param errorMessage Used only for the ERROR state. The string is not localized and not
- * intended to be shown to a user.
- */
- void onStateChanged(State state, String errorMessage);
-}
« no previous file with comments | « remoting/android/host/src/org/chromium/chromoting/host/jni/Host.java ('k') | remoting/host/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698