| 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 #include "components/autofill/core/browser/test_autofill_client.h" | 5 #include "components/autofill/core/browser/test_autofill_client.h" |
| 6 | 6 |
| 7 #include "components/autofill/core/browser/webdata/autofill_webdata_service.h" | 7 #include "components/autofill/core/browser/webdata/autofill_webdata_service.h" |
| 8 | 8 |
| 9 namespace autofill { | 9 namespace autofill { |
| 10 | 10 |
| (...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 113 } | 113 } |
| 114 | 114 |
| 115 void TestAutofillClient::OnFirstUserGestureObserved() { | 115 void TestAutofillClient::OnFirstUserGestureObserved() { |
| 116 } | 116 } |
| 117 | 117 |
| 118 bool TestAutofillClient::IsContextSecure(const GURL& form_origin) { | 118 bool TestAutofillClient::IsContextSecure(const GURL& form_origin) { |
| 119 // Simplified secure context check for tests. | 119 // Simplified secure context check for tests. |
| 120 return form_origin.SchemeIs("https"); | 120 return form_origin.SchemeIs("https"); |
| 121 } | 121 } |
| 122 | 122 |
| 123 bool TestAutofillClient::IsMainUrlSecure() { |
| 124 return is_main_url_secure_; |
| 125 } |
| 126 |
| 123 bool TestAutofillClient::ShouldShowSigninPromo() { | 127 bool TestAutofillClient::ShouldShowSigninPromo() { |
| 124 return false; | 128 return false; |
| 125 } | 129 } |
| 126 | 130 |
| 127 void TestAutofillClient::StartSigninFlow() {} | 131 void TestAutofillClient::StartSigninFlow() {} |
| 128 | 132 |
| 129 void TestAutofillClient::ShowHttpNotSecureExplanation() {} | 133 void TestAutofillClient::ShowHttpNotSecureExplanation() {} |
| 130 | 134 |
| 131 } // namespace autofill | 135 } // namespace autofill |
| OLD | NEW |