| 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 <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 81 const std::vector<base::string16>& values, | 81 const std::vector<base::string16>& values, |
| 82 const std::vector<base::string16>& labels) override; | 82 const std::vector<base::string16>& labels) override; |
| 83 void PropagateAutofillPredictions( | 83 void PropagateAutofillPredictions( |
| 84 content::RenderFrameHost* rfh, | 84 content::RenderFrameHost* rfh, |
| 85 const std::vector<FormStructure*>& forms) override; | 85 const std::vector<FormStructure*>& forms) override; |
| 86 void DidFillOrPreviewField(const base::string16& autofilled_value, | 86 void DidFillOrPreviewField(const base::string16& autofilled_value, |
| 87 const base::string16& profile_full_name) override; | 87 const base::string16& profile_full_name) override; |
| 88 void OnFirstUserGestureObserved() override; | 88 void OnFirstUserGestureObserved() override; |
| 89 scoped_refptr<AutofillWebDataService> GetDatabase() override; | 89 scoped_refptr<AutofillWebDataService> GetDatabase() override; |
| 90 bool IsContextSecure(const GURL& form_origin) override; | 90 bool IsContextSecure(const GURL& form_origin) override; |
| 91 bool ShouldShowSigninPromo() override; |
| 92 void StartSigninFlow() override; |
| 91 | 93 |
| 92 private: | 94 private: |
| 93 ios::ChromeBrowserState* browser_state_; | 95 ios::ChromeBrowserState* browser_state_; |
| 94 infobars::InfoBarManager* infobar_manager_; | 96 infobars::InfoBarManager* infobar_manager_; |
| 95 id<AutofillClientIOSBridge> bridge_; // Weak | 97 id<AutofillClientIOSBridge> bridge_; // Weak |
| 96 password_manager::PasswordGenerationManager* password_generation_manager_; | 98 password_manager::PasswordGenerationManager* password_generation_manager_; |
| 97 std::unique_ptr<IdentityProvider> identity_provider_; | 99 std::unique_ptr<IdentityProvider> identity_provider_; |
| 98 CardUnmaskPromptControllerImpl unmask_controller_; | 100 CardUnmaskPromptControllerImpl unmask_controller_; |
| 99 | 101 |
| 100 DISALLOW_COPY_AND_ASSIGN(AutofillClientIOS); | 102 DISALLOW_COPY_AND_ASSIGN(AutofillClientIOS); |
| 101 }; | 103 }; |
| 102 | 104 |
| 103 } // namespace autofill | 105 } // namespace autofill |
| 104 | 106 |
| 105 #endif // IOS_CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_CLIENT_IOS_H_ | 107 #endif // IOS_CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_CLIENT_IOS_H_ |
| OLD | NEW |