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

Side by Side Diff: chrome/browser/android/password_ui_view_android.cc

Issue 247263009: Rename jni_helper.h to jni_weak_ref.h. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/android/password_ui_view_android.h" 5 #include "chrome/browser/android/password_ui_view_android.h"
6 6
7 #include "base/android/jni_helper.h"
8 #include "base/android/jni_string.h" 7 #include "base/android/jni_string.h"
8 #include "base/android/jni_weak_ref.h"
9 #include "chrome/browser/profiles/profile_manager.h" 9 #include "chrome/browser/profiles/profile_manager.h"
10 #include "components/autofill/core/common/password_form.h" 10 #include "components/autofill/core/common/password_form.h"
11 #include "jni/PasswordUIView_jni.h" 11 #include "jni/PasswordUIView_jni.h"
12 12
13 using base::android::ConvertUTF16ToJavaString; 13 using base::android::ConvertUTF16ToJavaString;
14 using base::android::ConvertUTF8ToJavaString; 14 using base::android::ConvertUTF8ToJavaString;
15 using base::android::ScopedJavaLocalRef; 15 using base::android::ScopedJavaLocalRef;
16 16
17 PasswordUIViewAndroid::PasswordUIViewAndroid(JNIEnv* env, jobject obj) 17 PasswordUIViewAndroid::PasswordUIViewAndroid(JNIEnv* env, jobject obj)
18 : password_manager_presenter_(this), weak_java_ui_controller_(env, obj) {} 18 : password_manager_presenter_(this), weak_java_ui_controller_(env, obj) {}
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 95
96 // static 96 // static
97 static jlong Init(JNIEnv* env, jobject obj) { 97 static jlong Init(JNIEnv* env, jobject obj) {
98 PasswordUIViewAndroid* controller = new PasswordUIViewAndroid(env, obj); 98 PasswordUIViewAndroid* controller = new PasswordUIViewAndroid(env, obj);
99 return reinterpret_cast<intptr_t>(controller); 99 return reinterpret_cast<intptr_t>(controller);
100 } 100 }
101 101
102 bool PasswordUIViewAndroid::RegisterPasswordUIViewAndroid(JNIEnv* env) { 102 bool PasswordUIViewAndroid::RegisterPasswordUIViewAndroid(JNIEnv* env) {
103 return RegisterNativesImpl(env); 103 return RegisterNativesImpl(env);
104 } 104 }
OLDNEW
« no previous file with comments | « chrome/browser/android/password_ui_view_android.h ('k') | chrome/browser/android/provider/chrome_browser_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698