| 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 #if !defined(OS_ANDROID) | 6 #if !defined(OS_ANDROID) |
| 7 #include "components/autofill/core/browser/ui/mock_save_card_bubble_controller.h
" | 7 #include "components/autofill/core/browser/ui/mock_save_card_bubble_controller.h
" |
| 8 #endif | 8 #endif |
| 9 | 9 |
| 10 #include "components/autofill/core/browser/webdata/autofill_webdata_service.h" | 10 #include "components/autofill/core/browser/webdata/autofill_webdata_service.h" |
| (...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 129 | 129 |
| 130 bool TestAutofillClient::IsContextSecure() { | 130 bool TestAutofillClient::IsContextSecure() { |
| 131 // Simplified secure context check for tests. | 131 // Simplified secure context check for tests. |
| 132 return form_origin_.SchemeIs("https"); | 132 return form_origin_.SchemeIs("https"); |
| 133 } | 133 } |
| 134 | 134 |
| 135 bool TestAutofillClient::ShouldShowSigninPromo() { | 135 bool TestAutofillClient::ShouldShowSigninPromo() { |
| 136 return false; | 136 return false; |
| 137 } | 137 } |
| 138 | 138 |
| 139 void TestAutofillClient::StartSigninFlow() {} | 139 void TestAutofillClient::ExecuteCommand(int id) {} |
| 140 | |
| 141 void TestAutofillClient::ShowHttpNotSecureExplanation() {} | |
| 142 | 140 |
| 143 bool TestAutofillClient::IsAutofillSupported() { | 141 bool TestAutofillClient::IsAutofillSupported() { |
| 144 return true; | 142 return true; |
| 145 } | 143 } |
| 146 | 144 |
| 147 } // namespace autofill | 145 } // namespace autofill |
| OLD | NEW |