OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_PASSWORD_MANAGER_PASSWORD_FORM_MANAGER_H_ | 5 #ifndef CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_FORM_MANAGER_H_ |
6 #define CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_FORM_MANAGER_H_ | 6 #define CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_FORM_MANAGER_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "build/build_config.h" | 12 #include "build/build_config.h" |
13 | 13 |
14 #include "base/stl_util-inl.h" | 14 #include "base/stl_util.h" |
15 #include "chrome/browser/password_manager/password_store_consumer.h" | 15 #include "chrome/browser/password_manager/password_store_consumer.h" |
16 #include "webkit/glue/password_form.h" | 16 #include "webkit/glue/password_form.h" |
17 | 17 |
18 class PasswordManager; | 18 class PasswordManager; |
19 class PasswordStore; | 19 class PasswordStore; |
20 class Profile; | 20 class Profile; |
21 | 21 |
22 // Per-password-form-{on-page, dialog} class responsible for interactions | 22 // Per-password-form-{on-page, dialog} class responsible for interactions |
23 // between a given form, the per-tab PasswordManager, and the PasswordStore. | 23 // between a given form, the per-tab PasswordManager, and the PasswordStore. |
24 class PasswordFormManager : public PasswordStoreConsumer { | 24 class PasswordFormManager : public PasswordStoreConsumer { |
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
223 // These three fields record the "ActionsTaken" by the browser and | 223 // These three fields record the "ActionsTaken" by the browser and |
224 // the user with this form, and the result. They are combined and | 224 // the user with this form, and the result. They are combined and |
225 // recorded in UMA when the manager is destroyed. | 225 // recorded in UMA when the manager is destroyed. |
226 ManagerAction manager_action_; | 226 ManagerAction manager_action_; |
227 UserAction user_action_; | 227 UserAction user_action_; |
228 SubmitResult submit_result_; | 228 SubmitResult submit_result_; |
229 | 229 |
230 DISALLOW_COPY_AND_ASSIGN(PasswordFormManager); | 230 DISALLOW_COPY_AND_ASSIGN(PasswordFormManager); |
231 }; | 231 }; |
232 #endif // CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_FORM_MANAGER_H_ | 232 #endif // CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_FORM_MANAGER_H_ |
OLD | NEW |