Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(74)

Side by Side Diff: components/autofill/core/browser/test_autofill_driver.cc

Issue 18563002: Move SendAutofillTypePredictions() into AutofillDriver. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Response to review Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
OLDNEW
« no previous file with comments | « components/autofill/core/browser/test_autofill_driver.h ('k') | components/autofill/core/common/form_data_predictions.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698