| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_UI_AUTOFILL_AUTOFILL_CLIENT_IOS_H_ | 5 #ifndef IOS_CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_CLIENT_IOS_H_ |
| 6 #define IOS_CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_CLIENT_IOS_H_ | 6 #define IOS_CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_CLIENT_IOS_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 92 void PropagateAutofillPredictions( | 92 void PropagateAutofillPredictions( |
| 93 content::RenderFrameHost* rfh, | 93 content::RenderFrameHost* rfh, |
| 94 const std::vector<FormStructure*>& forms) override; | 94 const std::vector<FormStructure*>& forms) override; |
| 95 void DidFillOrPreviewField(const base::string16& autofilled_value, | 95 void DidFillOrPreviewField(const base::string16& autofilled_value, |
| 96 const base::string16& profile_full_name) override; | 96 const base::string16& profile_full_name) override; |
| 97 scoped_refptr<AutofillWebDataService> GetDatabase() override; | 97 scoped_refptr<AutofillWebDataService> GetDatabase() override; |
| 98 bool IsContextSecure() override; | 98 bool IsContextSecure() override; |
| 99 bool ShouldShowSigninPromo() override; | 99 bool ShouldShowSigninPromo() override; |
| 100 void StartSigninFlow() override; | 100 void StartSigninFlow() override; |
| 101 void ShowHttpNotSecureExplanation() override; | 101 void ShowHttpNotSecureExplanation() override; |
| 102 bool ExecuteCommand(int id) override; |
| 102 | 103 |
| 103 private: | 104 private: |
| 104 ios::ChromeBrowserState* browser_state_; | 105 ios::ChromeBrowserState* browser_state_; |
| 105 web::WebState* web_state_; | 106 web::WebState* web_state_; |
| 106 infobars::InfoBarManager* infobar_manager_; | 107 infobars::InfoBarManager* infobar_manager_; |
| 107 __weak id<AutofillClientIOSBridge> bridge_; | 108 __weak id<AutofillClientIOSBridge> bridge_; |
| 108 password_manager::PasswordGenerationManager* password_generation_manager_; | 109 password_manager::PasswordGenerationManager* password_generation_manager_; |
| 109 std::unique_ptr<IdentityProvider> identity_provider_; | 110 std::unique_ptr<IdentityProvider> identity_provider_; |
| 110 CardUnmaskPromptControllerImpl unmask_controller_; | 111 CardUnmaskPromptControllerImpl unmask_controller_; |
| 111 | 112 |
| 112 DISALLOW_COPY_AND_ASSIGN(AutofillClientIOS); | 113 DISALLOW_COPY_AND_ASSIGN(AutofillClientIOS); |
| 113 }; | 114 }; |
| 114 | 115 |
| 115 } // namespace autofill | 116 } // namespace autofill |
| 116 | 117 |
| 117 #endif // IOS_CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_CLIENT_IOS_H_ | 118 #endif // IOS_CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_CLIENT_IOS_H_ |
| OLD | NEW |