| 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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 57 void HandleRemoveSavedPassword(const base::ListValue* args); | 57 void HandleRemoveSavedPassword(const base::ListValue* args); |
| 58 | 58 |
| 59 // Removes a saved password exception. | 59 // Removes a saved password exception. |
| 60 // |value| the entry index to be removed. | 60 // |value| the entry index to be removed. |
| 61 void HandleRemovePasswordException(const base::ListValue* args); | 61 void HandleRemovePasswordException(const base::ListValue* args); |
| 62 | 62 |
| 63 // Requests the plain text password for an entry to be revealed. | 63 // Requests the plain text password for an entry to be revealed. |
| 64 // |index| The index of the entry. | 64 // |index| The index of the entry. |
| 65 void HandleRequestShowPassword(const base::ListValue* args); | 65 void HandleRequestShowPassword(const base::ListValue* args); |
| 66 | 66 |
| 67 // User pref for storing accept languages. | |
| 68 std::string languages_; | |
| 69 | |
| 70 // The PasswordManagerPresenter object owned by the this view. | 67 // The PasswordManagerPresenter object owned by the this view. |
| 71 PasswordManagerPresenter password_manager_presenter_; | 68 PasswordManagerPresenter password_manager_presenter_; |
| 72 | 69 |
| 73 DISALLOW_COPY_AND_ASSIGN(PasswordManagerHandler); | 70 DISALLOW_COPY_AND_ASSIGN(PasswordManagerHandler); |
| 74 }; | 71 }; |
| 75 | 72 |
| 76 } // namespace options | 73 } // namespace options |
| 77 | 74 |
| 78 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_PASSWORD_MANAGER_HANDLER_H_ | 75 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_PASSWORD_MANAGER_HANDLER_H_ |
| OLD | NEW |