1f8ee788a64d60abd8f2d742a5fdedde054ecd910Torne (Richard Coles)// Copyright 2014 The Chromium Authors. All rights reserved.
2f8ee788a64d60abd8f2d742a5fdedde054ecd910Torne (Richard Coles)// Use of this source code is governed by a BSD-style license that can be
3f8ee788a64d60abd8f2d742a5fdedde054ecd910Torne (Richard Coles)// found in the LICENSE file.
4f8ee788a64d60abd8f2d742a5fdedde054ecd910Torne (Richard Coles)
5f8ee788a64d60abd8f2d742a5fdedde054ecd910Torne (Richard Coles)#include "components/autofill/core/browser/test_autofill_client.h"
6f8ee788a64d60abd8f2d742a5fdedde054ecd910Torne (Richard Coles)
7f8ee788a64d60abd8f2d742a5fdedde054ecd910Torne (Richard Coles)#include "components/autofill/core/browser/webdata/autofill_webdata_service.h"
8f8ee788a64d60abd8f2d742a5fdedde054ecd910Torne (Richard Coles)
9f8ee788a64d60abd8f2d742a5fdedde054ecd910Torne (Richard Coles)namespace autofill {
10f8ee788a64d60abd8f2d742a5fdedde054ecd910Torne (Richard Coles)
11f8ee788a64d60abd8f2d742a5fdedde054ecd910Torne (Richard Coles)TestAutofillClient::TestAutofillClient() {
12f8ee788a64d60abd8f2d742a5fdedde054ecd910Torne (Richard Coles)}
13f8ee788a64d60abd8f2d742a5fdedde054ecd910Torne (Richard Coles)TestAutofillClient::~TestAutofillClient() {
14f8ee788a64d60abd8f2d742a5fdedde054ecd910Torne (Richard Coles)}
15f8ee788a64d60abd8f2d742a5fdedde054ecd910Torne (Richard Coles)
16f8ee788a64d60abd8f2d742a5fdedde054ecd910Torne (Richard Coles)PersonalDataManager* TestAutofillClient::GetPersonalDataManager() {
17f8ee788a64d60abd8f2d742a5fdedde054ecd910Torne (Richard Coles)  return NULL;
18f8ee788a64d60abd8f2d742a5fdedde054ecd910Torne (Richard Coles)}
19f8ee788a64d60abd8f2d742a5fdedde054ecd910Torne (Richard Coles)
20f8ee788a64d60abd8f2d742a5fdedde054ecd910Torne (Richard Coles)scoped_refptr<AutofillWebDataService> TestAutofillClient::GetDatabase() {
21f8ee788a64d60abd8f2d742a5fdedde054ecd910Torne (Richard Coles)  return scoped_refptr<AutofillWebDataService>(NULL);
22f8ee788a64d60abd8f2d742a5fdedde054ecd910Torne (Richard Coles)}
23f8ee788a64d60abd8f2d742a5fdedde054ecd910Torne (Richard Coles)
24f8ee788a64d60abd8f2d742a5fdedde054ecd910Torne (Richard Coles)PrefService* TestAutofillClient::GetPrefs() {
25f8ee788a64d60abd8f2d742a5fdedde054ecd910Torne (Richard Coles)  return prefs_.get();
26f8ee788a64d60abd8f2d742a5fdedde054ecd910Torne (Richard Coles)}
27f8ee788a64d60abd8f2d742a5fdedde054ecd910Torne (Richard Coles)
28f8ee788a64d60abd8f2d742a5fdedde054ecd910Torne (Richard Coles)void TestAutofillClient::HideRequestAutocompleteDialog() {
29f8ee788a64d60abd8f2d742a5fdedde054ecd910Torne (Richard Coles)}
30f8ee788a64d60abd8f2d742a5fdedde054ecd910Torne (Richard Coles)
31f8ee788a64d60abd8f2d742a5fdedde054ecd910Torne (Richard Coles)void TestAutofillClient::ShowAutofillSettings() {
32f8ee788a64d60abd8f2d742a5fdedde054ecd910Torne (Richard Coles)}
33f8ee788a64d60abd8f2d742a5fdedde054ecd910Torne (Richard Coles)
34f8ee788a64d60abd8f2d742a5fdedde054ecd910Torne (Richard Coles)void TestAutofillClient::ConfirmSaveCreditCard(
35f8ee788a64d60abd8f2d742a5fdedde054ecd910Torne (Richard Coles)    const AutofillMetrics& metric_logger,
36f8ee788a64d60abd8f2d742a5fdedde054ecd910Torne (Richard Coles)    const base::Closure& save_card_callback) {
37f8ee788a64d60abd8f2d742a5fdedde054ecd910Torne (Richard Coles)}
38f8ee788a64d60abd8f2d742a5fdedde054ecd910Torne (Richard Coles)
39f8ee788a64d60abd8f2d742a5fdedde054ecd910Torne (Richard Coles)void TestAutofillClient::ShowRequestAutocompleteDialog(
40f8ee788a64d60abd8f2d742a5fdedde054ecd910Torne (Richard Coles)    const FormData& form,
41f8ee788a64d60abd8f2d742a5fdedde054ecd910Torne (Richard Coles)    const GURL& source_url,
42f8ee788a64d60abd8f2d742a5fdedde054ecd910Torne (Richard Coles)    const ResultCallback& callback) {
43f8ee788a64d60abd8f2d742a5fdedde054ecd910Torne (Richard Coles)}
44f8ee788a64d60abd8f2d742a5fdedde054ecd910Torne (Richard Coles)
45f8ee788a64d60abd8f2d742a5fdedde054ecd910Torne (Richard Coles)void TestAutofillClient::ShowAutofillPopup(
46f8ee788a64d60abd8f2d742a5fdedde054ecd910Torne (Richard Coles)    const gfx::RectF& element_bounds,
47f8ee788a64d60abd8f2d742a5fdedde054ecd910Torne (Richard Coles)    base::i18n::TextDirection text_direction,
48f8ee788a64d60abd8f2d742a5fdedde054ecd910Torne (Richard Coles)    const std::vector<base::string16>& values,
49f8ee788a64d60abd8f2d742a5fdedde054ecd910Torne (Richard Coles)    const std::vector<base::string16>& labels,
50f8ee788a64d60abd8f2d742a5fdedde054ecd910Torne (Richard Coles)    const std::vector<base::string16>& icons,
51f8ee788a64d60abd8f2d742a5fdedde054ecd910Torne (Richard Coles)    const std::vector<int>& identifiers,
52f8ee788a64d60abd8f2d742a5fdedde054ecd910Torne (Richard Coles)    base::WeakPtr<AutofillPopupDelegate> delegate) {
53f8ee788a64d60abd8f2d742a5fdedde054ecd910Torne (Richard Coles)}
54f8ee788a64d60abd8f2d742a5fdedde054ecd910Torne (Richard Coles)
55f8ee788a64d60abd8f2d742a5fdedde054ecd910Torne (Richard Coles)void TestAutofillClient::UpdateAutofillPopupDataListValues(
56f8ee788a64d60abd8f2d742a5fdedde054ecd910Torne (Richard Coles)    const std::vector<base::string16>& values,
57f8ee788a64d60abd8f2d742a5fdedde054ecd910Torne (Richard Coles)    const std::vector<base::string16>& labels) {
58f8ee788a64d60abd8f2d742a5fdedde054ecd910Torne (Richard Coles)}
59f8ee788a64d60abd8f2d742a5fdedde054ecd910Torne (Richard Coles)
60f8ee788a64d60abd8f2d742a5fdedde054ecd910Torne (Richard Coles)void TestAutofillClient::HideAutofillPopup() {
61f8ee788a64d60abd8f2d742a5fdedde054ecd910Torne (Richard Coles)}
62f8ee788a64d60abd8f2d742a5fdedde054ecd910Torne (Richard Coles)
63f8ee788a64d60abd8f2d742a5fdedde054ecd910Torne (Richard Coles)bool TestAutofillClient::IsAutocompleteEnabled() {
64f8ee788a64d60abd8f2d742a5fdedde054ecd910Torne (Richard Coles)  return true;
65f8ee788a64d60abd8f2d742a5fdedde054ecd910Torne (Richard Coles)}
66f8ee788a64d60abd8f2d742a5fdedde054ecd910Torne (Richard Coles)
67f8ee788a64d60abd8f2d742a5fdedde054ecd910Torne (Richard Coles)void TestAutofillClient::DetectAccountCreationForms(
68f8ee788a64d60abd8f2d742a5fdedde054ecd910Torne (Richard Coles)    const std::vector<autofill::FormStructure*>& forms) {
69f8ee788a64d60abd8f2d742a5fdedde054ecd910Torne (Richard Coles)}
70f8ee788a64d60abd8f2d742a5fdedde054ecd910Torne (Richard Coles)
71f8ee788a64d60abd8f2d742a5fdedde054ecd910Torne (Richard Coles)void TestAutofillClient::DidFillOrPreviewField(
72f8ee788a64d60abd8f2d742a5fdedde054ecd910Torne (Richard Coles)    const base::string16& autofilled_value,
73f8ee788a64d60abd8f2d742a5fdedde054ecd910Torne (Richard Coles)    const base::string16& profile_full_name) {
74f8ee788a64d60abd8f2d742a5fdedde054ecd910Torne (Richard Coles)}
75f8ee788a64d60abd8f2d742a5fdedde054ecd910Torne (Richard Coles)
76f8ee788a64d60abd8f2d742a5fdedde054ecd910Torne (Richard Coles)}  // namespace autofill
77