| Index: blimp/client/android/java/src/org/chromium/blimp/session/BlimpClientSession.java
|
| diff --git a/blimp/client/android/java/src/org/chromium/blimp/session/BlimpClientSession.java b/blimp/client/android/java/src/org/chromium/blimp/session/BlimpClientSession.java
|
| deleted file mode 100644
|
| index f4bd6ac6d06efd94e8a72b60ab4d033da64f8502..0000000000000000000000000000000000000000
|
| --- a/blimp/client/android/java/src/org/chromium/blimp/session/BlimpClientSession.java
|
| +++ /dev/null
|
| @@ -1,42 +0,0 @@
|
| -// Copyright 2015 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.blimp.session;
|
| -
|
| -import org.chromium.base.annotations.CalledByNative;
|
| -import org.chromium.base.annotations.JNINamespace;
|
| -
|
| -/**
|
| - * The Java representation of a native BlimpClientSession. This is primarily used to provide access
|
| - * to the native session methods and to facilitate passing a BlimpClientSession object between Java
|
| - * classes with native counterparts.
|
| - */
|
| -@JNINamespace("blimp::client")
|
| -public class BlimpClientSession {
|
| - private long mNativeBlimpClientSessionAndroidPtr;
|
| -
|
| - public BlimpClientSession() {
|
| - mNativeBlimpClientSessionAndroidPtr = nativeInit();
|
| - }
|
| -
|
| - /**
|
| - * Destroys the native BlimpClientSession. This class should not be used after this is called.
|
| - */
|
| - public void destroy() {
|
| - if (mNativeBlimpClientSessionAndroidPtr == 0) return;
|
| -
|
| - nativeDestroy(mNativeBlimpClientSessionAndroidPtr);
|
| - mNativeBlimpClientSessionAndroidPtr = 0;
|
| - }
|
| -
|
| - // Methods that are called by native via JNI.
|
| - @CalledByNative
|
| - private long getNativePtr() {
|
| - assert mNativeBlimpClientSessionAndroidPtr != 0;
|
| - return mNativeBlimpClientSessionAndroidPtr;
|
| - }
|
| -
|
| - private native long nativeInit();
|
| - private native void nativeDestroy(long nativeBlimpClientSessionAndroid);
|
| -}
|
|
|