OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_PASSWORD_FORM_MANAGER_H_ | 5 #ifndef COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_PASSWORD_FORM_MANAGER_H_ |
6 #define COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_PASSWORD_FORM_MANAGER_H_ | 6 #define COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_PASSWORD_FORM_MANAGER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "build/build_config.h" | 11 #include "build/build_config.h" |
12 | 12 |
13 #include "base/stl_util.h" | 13 #include "base/stl_util.h" |
14 #include "components/autofill/core/browser/field_types.h" | 14 #include "components/autofill/core/browser/field_types.h" |
15 #include "components/autofill/core/common/password_form.h" | 15 #include "components/autofill/core/common/password_form.h" |
16 #include "components/password_manager/core/browser/password_manager_driver.h" | 16 #include "components/password_manager/core/browser/password_manager_driver.h" |
17 #include "components/password_manager/core/browser/password_store.h" | 17 #include "components/password_manager/core/browser/password_store.h" |
18 #include "components/password_manager/core/browser/password_store_consumer.h" | 18 #include "components/password_manager/core/browser/password_store_consumer.h" |
19 | 19 |
20 namespace content { | |
21 class WebContents; | |
22 } // namespace content | |
23 | |
24 namespace password_manager { | 20 namespace password_manager { |
25 | 21 |
26 class PasswordManager; | 22 class PasswordManager; |
27 class PasswordManagerClient; | 23 class PasswordManagerClient; |
28 | 24 |
29 // Per-password-form-{on-page, dialog} class responsible for interactions | 25 // Per-password-form-{on-page, dialog} class responsible for interactions |
30 // between a given form, the per-tab PasswordManager, and the PasswordStore. | 26 // between a given form, the per-tab PasswordManager, and the PasswordStore. |
31 class PasswordFormManager : public PasswordStoreConsumer { | 27 class PasswordFormManager : public PasswordStoreConsumer { |
32 public: | 28 public: |
33 // |password_manager| owns this object | 29 // |password_manager| owns this object |
(...skipping 298 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
332 ManagerAction manager_action_; | 328 ManagerAction manager_action_; |
333 UserAction user_action_; | 329 UserAction user_action_; |
334 SubmitResult submit_result_; | 330 SubmitResult submit_result_; |
335 | 331 |
336 DISALLOW_COPY_AND_ASSIGN(PasswordFormManager); | 332 DISALLOW_COPY_AND_ASSIGN(PasswordFormManager); |
337 }; | 333 }; |
338 | 334 |
339 } // namespace password_manager | 335 } // namespace password_manager |
340 | 336 |
341 #endif // COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_PASSWORD_FORM_MANAGER_H_ | 337 #endif // COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_PASSWORD_FORM_MANAGER_H_ |
OLD | NEW |