| 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> |
| 11 #include <vector> | 11 #include <vector> |
| 12 | 12 |
| 13 #include "base/macros.h" | 13 #include "base/macros.h" |
| 14 #include "base/prefs/pref_member.h" | |
| 15 #include "build/build_config.h" | 14 #include "build/build_config.h" |
| 16 #include "chrome/browser/ui/passwords/password_manager_presenter.h" | 15 #include "chrome/browser/ui/passwords/password_manager_presenter.h" |
| 17 #include "chrome/browser/ui/passwords/password_ui_view.h" | 16 #include "chrome/browser/ui/passwords/password_ui_view.h" |
| 18 #include "chrome/browser/ui/webui/options/options_ui.h" | 17 #include "chrome/browser/ui/webui/options/options_ui.h" |
| 18 #include "components/prefs/pref_member.h" |
| 19 | 19 |
| 20 namespace options { | 20 namespace options { |
| 21 | 21 |
| 22 // The WebUI based PasswordUIView. Displays passwords in the web ui. | 22 // The WebUI based PasswordUIView. Displays passwords in the web ui. |
| 23 class PasswordManagerHandler : public OptionsPageUIHandler, | 23 class PasswordManagerHandler : public OptionsPageUIHandler, |
| 24 public PasswordUIView { | 24 public PasswordUIView { |
| 25 public: | 25 public: |
| 26 PasswordManagerHandler(); | 26 PasswordManagerHandler(); |
| 27 ~PasswordManagerHandler() override; | 27 ~PasswordManagerHandler() override; |
| 28 | 28 |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 69 | 69 |
| 70 // The PasswordManagerPresenter object owned by the this view. | 70 // The PasswordManagerPresenter object owned by the this view. |
| 71 PasswordManagerPresenter password_manager_presenter_; | 71 PasswordManagerPresenter password_manager_presenter_; |
| 72 | 72 |
| 73 DISALLOW_COPY_AND_ASSIGN(PasswordManagerHandler); | 73 DISALLOW_COPY_AND_ASSIGN(PasswordManagerHandler); |
| 74 }; | 74 }; |
| 75 | 75 |
| 76 } // namespace options | 76 } // namespace options |
| 77 | 77 |
| 78 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_PASSWORD_MANAGER_HANDLER_H_ | 78 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_PASSWORD_MANAGER_HANDLER_H_ |
| OLD | NEW |