Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 #ifndef CHROME_BROWSER_ANDROID_PASSWORD_UI_VIEW_ANDROID_H_ | 5 #ifndef CHROME_BROWSER_ANDROID_PASSWORD_UI_VIEW_ANDROID_H_ |
| 6 #define CHROME_BROWSER_ANDROID_PASSWORD_UI_VIEW_ANDROID_H_ | 6 #define CHROME_BROWSER_ANDROID_PASSWORD_UI_VIEW_ANDROID_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 | 9 |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 15 matching lines...) Expand all Loading... | |
| 26 PasswordUIViewAndroid(JNIEnv* env, jobject); | 26 PasswordUIViewAndroid(JNIEnv* env, jobject); |
| 27 ~PasswordUIViewAndroid() override; | 27 ~PasswordUIViewAndroid() override; |
| 28 | 28 |
| 29 // PasswordUIView implementation. | 29 // PasswordUIView implementation. |
| 30 Profile* GetProfile() override; | 30 Profile* GetProfile() override; |
| 31 void ShowPassword( | 31 void ShowPassword( |
| 32 size_t index, | 32 size_t index, |
| 33 const std::string& origin_url, | 33 const std::string& origin_url, |
| 34 const std::string& username, | 34 const std::string& username, |
| 35 const base::string16& password_value) override; | 35 const base::string16& password_value) override; |
| 36 void SetPasswordList( | 36 void SetPasswordList(const std::vector<scoped_ptr<autofill::PasswordForm>>& |
| 37 const std::vector<scoped_ptr<autofill::PasswordForm>>& password_list, | 37 password_list) override; |
|
Bernhard Bauer
2016/03/31 14:34:27
Ick. I would probably format this like this:
v
vabr (Chromium)
2016/03/31 15:47:20
Done.
| |
| 38 bool show_passwords) override; | |
| 39 void SetPasswordExceptionList( | 38 void SetPasswordExceptionList( |
| 40 const std::vector<scoped_ptr<autofill::PasswordForm>>& | 39 const std::vector<scoped_ptr<autofill::PasswordForm>>& |
| 41 password_exception_list) override; | 40 password_exception_list) override; |
| 42 | 41 |
| 43 // Calls from Java. | 42 // Calls from Java. |
| 44 base::android::ScopedJavaLocalRef<jobject> GetSavedPasswordEntry( | 43 base::android::ScopedJavaLocalRef<jobject> GetSavedPasswordEntry( |
| 45 JNIEnv* env, | 44 JNIEnv* env, |
| 46 const base::android::JavaParamRef<jobject>&, | 45 const base::android::JavaParamRef<jobject>&, |
| 47 int index); | 46 int index); |
| 48 base::android::ScopedJavaLocalRef<jstring> GetSavedPasswordException( | 47 base::android::ScopedJavaLocalRef<jstring> GetSavedPasswordException( |
| (...skipping 18 matching lines...) Expand all Loading... | |
| 67 | 66 |
| 68 private: | 67 private: |
| 69 PasswordManagerPresenter password_manager_presenter_; | 68 PasswordManagerPresenter password_manager_presenter_; |
| 70 // Java side of UI controller. | 69 // Java side of UI controller. |
| 71 JavaObjectWeakGlobalRef weak_java_ui_controller_; | 70 JavaObjectWeakGlobalRef weak_java_ui_controller_; |
| 72 | 71 |
| 73 DISALLOW_COPY_AND_ASSIGN(PasswordUIViewAndroid); | 72 DISALLOW_COPY_AND_ASSIGN(PasswordUIViewAndroid); |
| 74 }; | 73 }; |
| 75 | 74 |
| 76 #endif // CHROME_BROWSER_ANDROID_PASSWORD_UI_VIEW_ANDROID_H_ | 75 #endif // CHROME_BROWSER_ANDROID_PASSWORD_UI_VIEW_ANDROID_H_ |
| OLD | NEW |