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_UI_WEBUI_OPTIONS_PASSWORD_MANAGER_HANDLER_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS_PASSWORD_MANAGER_HANDLER_H_ |
| 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_PASSWORD_MANAGER_HANDLER_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_PASSWORD_MANAGER_HANDLER_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 | 9 |
| 10 #include <string> | 10 #include <string> |
| (...skipping 20 matching lines...) Expand all Loading... | |
| 31 void InitializeHandler() override; | 31 void InitializeHandler() override; |
| 32 void RegisterMessages() override; | 32 void RegisterMessages() override; |
| 33 | 33 |
| 34 // PasswordUIView implementation. | 34 // PasswordUIView implementation. |
| 35 Profile* GetProfile() override; | 35 Profile* GetProfile() override; |
| 36 void ShowPassword( | 36 void ShowPassword( |
| 37 size_t index, | 37 size_t index, |
| 38 const std::string& origin_url, | 38 const std::string& origin_url, |
| 39 const std::string& username, | 39 const std::string& username, |
| 40 const base::string16& password_value) override; | 40 const base::string16& password_value) override; |
| 41 void SetPasswordList( | 41 void SetPasswordList(const std::vector<scoped_ptr<autofill::PasswordForm>>& |
| 42 const std::vector<scoped_ptr<autofill::PasswordForm>>& password_list, | 42 password_list) override; |
|
Bernhard Bauer
2016/03/31 14:34:27
Here as well.
vabr (Chromium)
2016/03/31 15:47:20
Done.
| |
| 43 bool show_passwords) override; | |
| 44 void SetPasswordExceptionList( | 43 void SetPasswordExceptionList( |
| 45 const std::vector<scoped_ptr<autofill::PasswordForm>>& | 44 const std::vector<scoped_ptr<autofill::PasswordForm>>& |
| 46 password_exception_list) override; | 45 password_exception_list) override; |
| 47 #if !defined(OS_ANDROID) | 46 #if !defined(OS_ANDROID) |
| 48 gfx::NativeWindow GetNativeWindow() const override; | 47 gfx::NativeWindow GetNativeWindow() const override; |
| 49 #endif | 48 #endif |
| 50 private: | 49 private: |
| 51 // Clears and then populates the list of passwords and password exceptions. | 50 // Clears and then populates the list of passwords and password exceptions. |
| 52 // Called when the JS PasswordManager object is initialized. | 51 // Called when the JS PasswordManager object is initialized. |
| 53 void HandleUpdatePasswordLists(const base::ListValue* args); | 52 void HandleUpdatePasswordLists(const base::ListValue* args); |
| (...skipping 15 matching lines...) Expand all Loading... | |
| 69 | 68 |
| 70 // The PasswordManagerPresenter object owned by the this view. | 69 // The PasswordManagerPresenter object owned by the this view. |
| 71 PasswordManagerPresenter password_manager_presenter_; | 70 PasswordManagerPresenter password_manager_presenter_; |
| 72 | 71 |
| 73 DISALLOW_COPY_AND_ASSIGN(PasswordManagerHandler); | 72 DISALLOW_COPY_AND_ASSIGN(PasswordManagerHandler); |
| 74 }; | 73 }; |
| 75 | 74 |
| 76 } // namespace options | 75 } // namespace options |
| 77 | 76 |
| 78 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_PASSWORD_MANAGER_HANDLER_H_ | 77 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_PASSWORD_MANAGER_HANDLER_H_ |
| OLD | NEW |