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 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
89 void OnFirstUserGestureObserved() override; | 89 void OnFirstUserGestureObserved() override; |
90 scoped_refptr<AutofillWebDataService> GetDatabase() override; | 90 scoped_refptr<AutofillWebDataService> GetDatabase() override; |
91 bool IsContextSecure(const GURL& form_origin) override; | 91 bool IsContextSecure(const GURL& form_origin) override; |
92 bool ShouldShowSigninPromo() override; | 92 bool ShouldShowSigninPromo() override; |
93 void StartSigninFlow() override; | 93 void StartSigninFlow() override; |
94 void ShowHttpNotSecureExplanation() override; | 94 void ShowHttpNotSecureExplanation() override; |
95 | 95 |
96 private: | 96 private: |
97 ios::ChromeBrowserState* browser_state_; | 97 ios::ChromeBrowserState* browser_state_; |
98 infobars::InfoBarManager* infobar_manager_; | 98 infobars::InfoBarManager* infobar_manager_; |
99 id<AutofillClientIOSBridge> bridge_; // Weak | 99 __weak id<AutofillClientIOSBridge> bridge_; |
100 password_manager::PasswordGenerationManager* password_generation_manager_; | 100 password_manager::PasswordGenerationManager* password_generation_manager_; |
101 std::unique_ptr<IdentityProvider> identity_provider_; | 101 std::unique_ptr<IdentityProvider> identity_provider_; |
102 CardUnmaskPromptControllerImpl unmask_controller_; | 102 CardUnmaskPromptControllerImpl unmask_controller_; |
103 | 103 |
104 DISALLOW_COPY_AND_ASSIGN(AutofillClientIOS); | 104 DISALLOW_COPY_AND_ASSIGN(AutofillClientIOS); |
105 }; | 105 }; |
106 | 106 |
107 } // namespace autofill | 107 } // namespace autofill |
108 | 108 |
109 #endif // IOS_CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_CLIENT_IOS_H_ | 109 #endif // IOS_CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_CLIENT_IOS_H_ |
OLD | NEW |