| Index: chrome/browser/autofill/test_autofill_manager_delegate.cc
|
| diff --git a/chrome/browser/autofill/test_autofill_manager_delegate.cc b/chrome/browser/autofill/test_autofill_manager_delegate.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..169db1f9af68b1f82c5f7c0ff774328513a0caa5
|
| --- /dev/null
|
| +++ b/chrome/browser/autofill/test_autofill_manager_delegate.cc
|
| @@ -0,0 +1,70 @@
|
| +// Copyright (c) 2013 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#include "chrome/browser/autofill/test_autofill_manager_delegate.h"
|
| +
|
| +namespace autofill {
|
| +
|
| +TestAutofillManagerDelegate::TestAutofillManagerDelegate() {}
|
| +TestAutofillManagerDelegate::~TestAutofillManagerDelegate() {}
|
| +
|
| +InfoBarService* TestAutofillManagerDelegate::GetInfoBarService() {
|
| + return NULL;
|
| +}
|
| +
|
| +PersonalDataManager* TestAutofillManagerDelegate::GetPersonalDataManager() {
|
| + return NULL;
|
| +}
|
| +
|
| +PrefService* TestAutofillManagerDelegate::GetPrefs() {
|
| + return NULL;
|
| +}
|
| +
|
| +ProfileSyncServiceBase* TestAutofillManagerDelegate::GetProfileSyncService() {
|
| + return NULL;
|
| +}
|
| +
|
| +void TestAutofillManagerDelegate::HideRequestAutocompleteDialog() {}
|
| +
|
| +bool TestAutofillManagerDelegate::IsSavingPasswordsEnabled() const {
|
| + return false;
|
| +}
|
| +
|
| +void TestAutofillManagerDelegate::OnAutocheckoutError() {}
|
| +
|
| +void TestAutofillManagerDelegate::ShowAutofillSettings() {}
|
| +
|
| +void TestAutofillManagerDelegate::ShowPasswordGenerationBubble(
|
| + const gfx::Rect& bounds,
|
| + const content::PasswordForm& form,
|
| + autofill::PasswordGenerator* generator) {}
|
| +
|
| +void TestAutofillManagerDelegate::ShowAutocheckoutBubble(
|
| + const gfx::RectF& bounding_box,
|
| + const gfx::NativeView& native_view,
|
| + const base::Closure& callback) {}
|
| +
|
| +void TestAutofillManagerDelegate::ShowRequestAutocompleteDialog(
|
| + const FormData& form,
|
| + const GURL& source_url,
|
| + const content::SSLStatus& ssl_status,
|
| + const AutofillMetrics& metric_logger,
|
| + DialogType dialog_type,
|
| + const base::Callback<void(const FormStructure*)>& callback) {}
|
| +
|
| +void TestAutofillManagerDelegate::RequestAutocompleteDialogClosed() {}
|
| +
|
| +void TestAutofillManagerDelegate::ShowAutofillPopup(
|
| + const gfx::RectF& element_bounds,
|
| + const std::vector<string16>& values,
|
| + const std::vector<string16>& labels,
|
| + const std::vector<string16>& icons,
|
| + const std::vector<int>& identifiers,
|
| + AutofillPopupDelegate* delegate) {}
|
| +
|
| +void TestAutofillManagerDelegate::HideAutofillPopup() {}
|
| +
|
| +void TestAutofillManagerDelegate::UpdateProgressBar(double value) {}
|
| +
|
| +} // namespace autofill
|
|
|