Index: blimp/client/core/contents/android/blimp_contents_factory.cc |
diff --git a/blimp/client/core/contents/android/blimp_contents_factory.cc b/blimp/client/core/contents/android/blimp_contents_factory.cc |
deleted file mode 100644 |
index ae3df18b7b310c89c5232d1bd9f9efbbb8c73e19..0000000000000000000000000000000000000000 |
--- a/blimp/client/core/contents/android/blimp_contents_factory.cc |
+++ /dev/null |
@@ -1,36 +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. |
- |
-#include "blimp/client/core/contents/android/blimp_contents_factory.h" |
- |
-#include "base/android/jni_android.h" |
-#include "base/android/scoped_java_ref.h" |
-#include "blimp/client/core/contents/android/blimp_contents_impl_android.h" |
-#include "blimp/client/core/contents/blimp_contents_impl.h" |
-#include "jni/BlimpContentsFactory_jni.h" |
- |
-using base::android::JavaParamRef; |
- |
-namespace { |
-const int kDummyTabId = 0; |
-} |
- |
-namespace blimp { |
-namespace client { |
- |
-static base::android::ScopedJavaLocalRef<jobject> CreateBlimpContents( |
- JNIEnv* env, |
- const JavaParamRef<jclass>& clazz) { |
- // To delete |blimp_contents_impl|, the Java caller must call the |
- // destroy() method on BlimpContents. |
- BlimpContentsImpl* blimp_contents_impl = new BlimpContentsImpl(kDummyTabId); |
- return blimp_contents_impl->GetJavaBlimpContentsImpl(); |
-} |
- |
-bool RegisterBlimpContentsFactoryJni(JNIEnv* env) { |
- return RegisterNativesImpl(env); |
-} |
- |
-} // namespace client |
-} // namespace blimp |