Index: chrome/browser/android/signin/account_management_screen_helper.cc |
diff --git a/chrome/browser/android/signin/account_management_screen_helper.cc b/chrome/browser/android/signin/account_management_screen_helper.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..6f15a36a4394e082603a1413055f2ca4e656060e |
--- /dev/null |
+++ b/chrome/browser/android/signin/account_management_screen_helper.cc |
@@ -0,0 +1,21 @@ |
+// Copyright 2014 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 "chrome/browser/android/signin/account_management_screen_helper.h" |
+ |
+#include "base/android/jni_android.h" |
+#include "base/android/jni_string.h" |
+#include "jni/AccountManagementScreenHelper_jni.h" |
+ |
+// static |
+void AccountManagementScreenHelper::OpenAccountManagementScreen() { |
+ Java_AccountManagementScreenHelper_openAccountManagementScreen( |
+ base::android::AttachCurrentThread(), |
+ base::android::GetApplicationContext()); |
+} |
+ |
+// static |
+bool AccountManagementScreenHelper::Register(JNIEnv* env) { |
+ return RegisterNativesImpl(env); |
+} |