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 #include "components/autofill/core/browser/test_autofill_driver.h" | 5 #include "components/autofill/core/browser/test_autofill_driver.h" |
6 | 6 |
7 namespace autofill { | 7 namespace autofill { |
8 | 8 |
9 TestAutofillDriver::TestAutofillDriver(content::WebContents* web_contents) | 9 TestAutofillDriver::TestAutofillDriver(content::WebContents* web_contents) |
10 : content::WebContentsObserver(web_contents) {} | 10 : content::WebContentsObserver(web_contents) {} |
11 | 11 |
12 TestAutofillDriver::~TestAutofillDriver() {} | 12 TestAutofillDriver::~TestAutofillDriver() {} |
13 | 13 |
14 content::WebContents* TestAutofillDriver::GetWebContents() { | 14 content::WebContents* TestAutofillDriver::GetWebContents() { |
15 return web_contents(); | 15 return web_contents(); |
16 } | 16 } |
17 | 17 |
18 bool TestAutofillDriver::RendererIsAvailable() { | 18 bool TestAutofillDriver::RendererIsAvailable() { |
19 return true; | 19 return true; |
20 } | 20 } |
21 | 21 |
22 void TestAutofillDriver::SendFormDataToRenderer(int query_id, | 22 void TestAutofillDriver::SendFormDataToRenderer(int query_id, |
23 const FormData& form_data) { | 23 const FormData& form_data) { |
24 } | 24 } |
25 | 25 |
| 26 void TestAutofillDriver::SendAutofillTypePredictionsToRenderer( |
| 27 const std::vector<FormStructure*>& forms) { |
| 28 } |
| 29 |
26 } // namespace autofill | 30 } // namespace autofill |
OLD | NEW |