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::CanSendToRenderer() { |
| 19 return true; |
| 20 } |
| 21 |
18 } // namespace autofill | 22 } // namespace autofill |
OLD | NEW |