| 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 IOS_CHROME_BROWSER_PASSWORDS_PASSWORD_GENERATION_AGENT_H_ | 5 #ifndef IOS_CHROME_BROWSER_PASSWORDS_PASSWORD_GENERATION_AGENT_H_ |
| 6 #define IOS_CHROME_BROWSER_PASSWORDS_PASSWORD_GENERATION_AGENT_H_ | 6 #define IOS_CHROME_BROWSER_PASSWORDS_PASSWORD_GENERATION_AGENT_H_ |
| 7 | 7 |
| 8 #import <Foundation/Foundation.h> | 8 #import <Foundation/Foundation.h> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| 11 #import "ios/chrome/browser/autofill/form_input_accessory_view_controller.h" | 11 #import "ios/chrome/browser/autofill/form_input_accessory_view_controller.h" |
| 12 #import "ios/chrome/browser/passwords/password_generation_offer_view.h" | 12 #import "ios/chrome/browser/passwords/password_generation_offer_view.h" |
| 13 #import "ios/chrome/browser/passwords/password_generation_prompt_delegate.h" | 13 #import "ios/chrome/browser/passwords/password_generation_prompt_delegate.h" |
| 14 #import "ios/chrome/browser/passwords/passwords_ui_delegate.h" | 14 #import "ios/chrome/browser/passwords/passwords_ui_delegate.h" |
| 15 #import "ios/web/public/web_state/web_state_observer_bridge.h" | 15 #import "ios/web/public/web_state/web_state_observer_bridge.h" |
| 16 | 16 |
| 17 @class CRWWebController; | 17 @class CRWWebController; |
| 18 @protocol FormInputAccessoryViewProvider; | 18 @protocol FormInputAccessoryViewProvider; |
| 19 @class JsPasswordManager; | 19 @class JsPasswordManager; |
| 20 @class JsSuggestionManager; | 20 @class JsSuggestionManager; |
| 21 | 21 |
| 22 namespace autofill { | 22 namespace autofill { |
| 23 struct FormData; | |
| 24 struct FormFieldData; | 23 struct FormFieldData; |
| 25 struct PasswordForm; | 24 struct PasswordForm; |
| 26 } | 25 } |
| 27 | 26 |
| 28 namespace password_manager { | 27 namespace password_manager { |
| 29 class PasswordManager; | 28 class PasswordManager; |
| 30 class PasswordManagerDriver; | 29 class PasswordManagerDriver; |
| 31 } | 30 } |
| 32 | 31 |
| 33 // Performs password generation for a web state. Locates eligible password | 32 // Performs password generation for a web state. Locates eligible password |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 88 JSPasswordManager:(JsPasswordManager*)JSPasswordManager | 87 JSPasswordManager:(JsPasswordManager*)JSPasswordManager |
| 89 JSSuggestionManager:(JsSuggestionManager*)JSSuggestionManager | 88 JSSuggestionManager:(JsSuggestionManager*)JSSuggestionManager |
| 90 passwordsUiDelegate:(id<PasswordsUiDelegate>)UIDelegate; | 89 passwordsUiDelegate:(id<PasswordsUiDelegate>)UIDelegate; |
| 91 | 90 |
| 92 // Clears all per-page state. | 91 // Clears all per-page state. |
| 93 - (void)clearState; | 92 - (void)clearState; |
| 94 | 93 |
| 95 @end | 94 @end |
| 96 | 95 |
| 97 #endif // IOS_CHROME_BROWSER_PASSWORDS_PASSWORD_GENERATION_AGENT_H_ | 96 #endif // IOS_CHROME_BROWSER_PASSWORDS_PASSWORD_GENERATION_AGENT_H_ |
| OLD | NEW |