| 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 COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_CLIENT_H_ | 5 #ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_CLIENT_H_ |
| 6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_CLIENT_H_ | 6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_CLIENT_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 182 | 182 |
| 183 // If the context is secure. | 183 // If the context is secure. |
| 184 virtual bool IsContextSecure(const GURL& form_origin) = 0; | 184 virtual bool IsContextSecure(const GURL& form_origin) = 0; |
| 185 | 185 |
| 186 // Whether it is appropriate to show a signin promo for this user. | 186 // Whether it is appropriate to show a signin promo for this user. |
| 187 virtual bool ShouldShowSigninPromo() = 0; | 187 virtual bool ShouldShowSigninPromo() = 0; |
| 188 | 188 |
| 189 // Starts the signin flow. Should not be called if ShouldShowSigninPromo() | 189 // Starts the signin flow. Should not be called if ShouldShowSigninPromo() |
| 190 // returns false. | 190 // returns false. |
| 191 virtual void StartSigninFlow() = 0; | 191 virtual void StartSigninFlow() = 0; |
| 192 |
| 193 // Shows the explanation of http not secure warning message. |
| 194 virtual void ShowHttpNotSecureExplanation() = 0; |
| 192 }; | 195 }; |
| 193 | 196 |
| 194 } // namespace autofill | 197 } // namespace autofill |
| 195 | 198 |
| 196 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_CLIENT_H_ | 199 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_AUTOFILL_CLIENT_H_ |
| OLD | NEW |