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

Unified Diff: chrome/browser/android/signin/account_management_screen_helper.cc

Issue 132033005: [Android] Stub for account management screen. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Grrr. Created 6 years, 11 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
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);
+}

Powered by Google App Engine
This is Rietveld 408576698