summaryrefslogtreecommitdiffstats
path: root/chromium/base/android/context_types.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/base/android/context_types.cc')
-rw-r--r--chromium/base/android/context_types.cc26
1 files changed, 0 insertions, 26 deletions
diff --git a/chromium/base/android/context_types.cc b/chromium/base/android/context_types.cc
deleted file mode 100644
index 084b1365ce2..00000000000
--- a/chromium/base/android/context_types.cc
+++ /dev/null
@@ -1,26 +0,0 @@
-// Copyright (c) 2013 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 "base/android/context_types.h"
-
-#include "base/android/jni_android.h"
-#include "base/android/scoped_java_ref.h"
-#include "base/files/file_path.h"
-#include "jni/ContextTypes_jni.h"
-
-namespace base {
-namespace android {
-
-bool IsRunningInWebapp() {
- JNIEnv* env = AttachCurrentThread();
- return static_cast<bool>(
- Java_ContextTypes_isRunningInWebapp(env, GetApplicationContext()));
-}
-
-bool RegisterContextTypes(JNIEnv* env) {
- return RegisterNativesImpl(env);
-}
-
-} // namespace android
-} // namespace base