OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_CHROME_PASSWORD_MANAGER_CLIENT_H_ | 5 #ifndef CHROME_BROWSER_PASSWORD_MANAGER_CHROME_PASSWORD_MANAGER_CLIENT_H_ |
6 #define CHROME_BROWSER_PASSWORD_MANAGER_CHROME_PASSWORD_MANAGER_CLIENT_H_ | 6 #define CHROME_BROWSER_PASSWORD_MANAGER_CHROME_PASSWORD_MANAGER_CLIENT_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 15 matching lines...) Expand all Loading... |
26 | 26 |
27 namespace autofill { | 27 namespace autofill { |
28 class PasswordGenerationPopupObserver; | 28 class PasswordGenerationPopupObserver; |
29 class PasswordGenerationPopupControllerImpl; | 29 class PasswordGenerationPopupControllerImpl; |
30 } | 30 } |
31 | 31 |
32 namespace content { | 32 namespace content { |
33 class WebContents; | 33 class WebContents; |
34 } | 34 } |
35 | 35 |
36 namespace password_manager { | |
37 struct CredentialInfo; | |
38 class PasswordGenerationManager; | |
39 class PasswordManagerDriver; | |
40 } | |
41 | |
42 // ChromePasswordManagerClient implements the PasswordManagerClient interface. | 36 // ChromePasswordManagerClient implements the PasswordManagerClient interface. |
43 class ChromePasswordManagerClient | 37 class ChromePasswordManagerClient |
44 : public password_manager::PasswordManagerClient, | 38 : public password_manager::PasswordManagerClient, |
45 public content::WebContentsObserver, | 39 public content::WebContentsObserver, |
46 public content::WebContentsUserData<ChromePasswordManagerClient>, | 40 public content::WebContentsUserData<ChromePasswordManagerClient>, |
47 public autofill::mojom::PasswordManagerClient { | 41 public autofill::mojom::PasswordManagerClient { |
48 public: | 42 public: |
49 ~ChromePasswordManagerClient() override; | 43 ~ChromePasswordManagerClient() override; |
50 | 44 |
51 // PasswordManagerClient implementation. | 45 // PasswordManagerClient implementation. |
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
184 std::unique_ptr<password_manager::LogManager> log_manager_; | 178 std::unique_ptr<password_manager::LogManager> log_manager_; |
185 | 179 |
186 // Set during 'NotifyUserCouldBeAutoSignedIn' in order to store the | 180 // Set during 'NotifyUserCouldBeAutoSignedIn' in order to store the |
187 // form for potential use during 'NotifySuccessfulLoginWithExistingPassword'. | 181 // form for potential use during 'NotifySuccessfulLoginWithExistingPassword'. |
188 std::unique_ptr<autofill::PasswordForm> possible_auto_sign_in_; | 182 std::unique_ptr<autofill::PasswordForm> possible_auto_sign_in_; |
189 | 183 |
190 DISALLOW_COPY_AND_ASSIGN(ChromePasswordManagerClient); | 184 DISALLOW_COPY_AND_ASSIGN(ChromePasswordManagerClient); |
191 }; | 185 }; |
192 | 186 |
193 #endif // CHROME_BROWSER_PASSWORD_MANAGER_CHROME_PASSWORD_MANAGER_CLIENT_H_ | 187 #endif // CHROME_BROWSER_PASSWORD_MANAGER_CHROME_PASSWORD_MANAGER_CLIENT_H_ |
OLD | NEW |