Home | History | Annotate | Download | only in browser
      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
      3 // found in the LICENSE file.
      4 
      5 #include "components/autofill/core/browser/test_autofill_driver.h"
      6 
      7 namespace autofill {
      8 
      9 TestAutofillDriver::TestAutofillDriver(content::WebContents* web_contents)
     10     : content::WebContentsObserver(web_contents) {}
     11 
     12 TestAutofillDriver::~TestAutofillDriver() {}
     13 
     14 content::WebContents* TestAutofillDriver::GetWebContents() {
     15   return web_contents();
     16 }
     17 
     18 bool TestAutofillDriver::RendererIsAvailable() {
     19   return true;
     20 }
     21 
     22 void TestAutofillDriver::SetRendererActionOnFormDataReception(
     23     RendererFormDataAction action) {
     24 }
     25 
     26 void TestAutofillDriver::SendFormDataToRenderer(int query_id,
     27                                                 const FormData& form_data) {
     28 }
     29 
     30 void TestAutofillDriver::SendAutofillTypePredictionsToRenderer(
     31     const std::vector<FormStructure*>& forms) {
     32 }
     33 
     34 void TestAutofillDriver::RendererShouldClearFilledForm() {
     35 }
     36 
     37 void TestAutofillDriver::RendererShouldClearPreviewedForm() {
     38 }
     39 
     40 }  // namespace autofill
     41