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_UI_PASSWORDS_MANAGE_PASSWORDS_UI_CONTROLLER_H_ | 5 #ifndef CHROME_BROWSER_UI_PASSWORDS_MANAGE_PASSWORDS_UI_CONTROLLER_H_ |
6 #define CHROME_BROWSER_UI_PASSWORDS_MANAGE_PASSWORDS_UI_CONTROLLER_H_ | 6 #define CHROME_BROWSER_UI_PASSWORDS_MANAGE_PASSWORDS_UI_CONTROLLER_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/macros.h" | 11 #include "base/macros.h" |
12 #include "chrome/browser/ui/passwords/manage_passwords_state.h" | 12 #include "chrome/browser/ui/passwords/manage_passwords_state.h" |
13 #include "chrome/browser/ui/passwords/passwords_client_ui_delegate.h" | 13 #include "chrome/browser/ui/passwords/passwords_client_ui_delegate.h" |
14 #include "chrome/browser/ui/passwords/passwords_model_delegate.h" | 14 #include "chrome/browser/ui/passwords/passwords_model_delegate.h" |
15 #include "chrome/common/features.h" | 15 #include "chrome/common/features.h" |
16 #include "components/password_manager/core/browser/password_store.h" | 16 #include "components/password_manager/core/browser/password_store.h" |
17 #include "content/public/browser/web_contents_observer.h" | 17 #include "content/public/browser/web_contents_observer.h" |
18 #include "content/public/browser/web_contents_user_data.h" | 18 #include "content/public/browser/web_contents_user_data.h" |
19 | 19 |
20 namespace content { | 20 namespace content { |
21 class WebContents; | 21 class WebContents; |
22 } | 22 } |
23 | 23 |
24 namespace password_manager { | 24 namespace password_manager { |
25 enum class CredentialType; | 25 enum class CredentialType; |
26 struct CredentialInfo; | |
27 struct InteractionsStats; | 26 struct InteractionsStats; |
28 class PasswordFormManager; | 27 class PasswordFormManager; |
29 } | 28 } |
30 | 29 |
31 class AccountChooserPrompt; | 30 class AccountChooserPrompt; |
32 class AutoSigninFirstRunPrompt; | 31 class AutoSigninFirstRunPrompt; |
33 class ManagePasswordsIconView; | 32 class ManagePasswordsIconView; |
34 class PasswordDialogController; | 33 class PasswordDialogController; |
35 class PasswordDialogControllerImpl; | 34 class PasswordDialogControllerImpl; |
36 | 35 |
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
186 // Thus, OnBubbleHidden() can be called after the new one is shown. By that | 185 // Thus, OnBubbleHidden() can be called after the new one is shown. By that |
187 // time the internal state of ManagePasswordsUIController has nothing to do | 186 // time the internal state of ManagePasswordsUIController has nothing to do |
188 // with the old bubble. | 187 // with the old bubble. |
189 // Invalidating all the weak pointers will detach the current bubble. | 188 // Invalidating all the weak pointers will detach the current bubble. |
190 base::WeakPtrFactory<ManagePasswordsUIController> weak_ptr_factory_; | 189 base::WeakPtrFactory<ManagePasswordsUIController> weak_ptr_factory_; |
191 | 190 |
192 DISALLOW_COPY_AND_ASSIGN(ManagePasswordsUIController); | 191 DISALLOW_COPY_AND_ASSIGN(ManagePasswordsUIController); |
193 }; | 192 }; |
194 | 193 |
195 #endif // CHROME_BROWSER_UI_PASSWORDS_MANAGE_PASSWORDS_UI_CONTROLLER_H_ | 194 #endif // CHROME_BROWSER_UI_PASSWORDS_MANAGE_PASSWORDS_UI_CONTROLLER_H_ |
OLD | NEW |