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

Unified Diff: components/autofill/core/browser/test_autofill_manager_delegate.cc

Issue 306053008: Rename AutofillManagerDelegate to AutofillClient. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: components/autofill/core/browser/test_autofill_manager_delegate.cc
diff --git a/components/autofill/core/browser/test_autofill_manager_delegate.cc b/components/autofill/core/browser/test_autofill_manager_delegate.cc
deleted file mode 100644
index f4840f9a1593d607677d4b0374124f0fb2602e2f..0000000000000000000000000000000000000000
--- a/components/autofill/core/browser/test_autofill_manager_delegate.cc
+++ /dev/null
@@ -1,63 +0,0 @@
-// Copyright 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 "components/autofill/core/browser/test_autofill_manager_delegate.h"
-#include "components/autofill/core/browser/webdata/autofill_webdata_service.h"
-
-namespace autofill {
-
-TestAutofillManagerDelegate::TestAutofillManagerDelegate() {}
-TestAutofillManagerDelegate::~TestAutofillManagerDelegate() {}
-
-PersonalDataManager* TestAutofillManagerDelegate::GetPersonalDataManager() {
- return NULL;
-}
-
-scoped_refptr<AutofillWebDataService>
-TestAutofillManagerDelegate::GetDatabase() {
- return scoped_refptr<AutofillWebDataService>(NULL);
-}
-
-PrefService* TestAutofillManagerDelegate::GetPrefs() { return prefs_.get(); }
-
-void TestAutofillManagerDelegate::HideRequestAutocompleteDialog() {}
-
-void TestAutofillManagerDelegate::ShowAutofillSettings() {}
-
-void TestAutofillManagerDelegate::ConfirmSaveCreditCard(
- const AutofillMetrics& metric_logger,
- const base::Closure& save_card_callback) {}
-
-void TestAutofillManagerDelegate::ShowRequestAutocompleteDialog(
- const FormData& form,
- const GURL& source_url,
- const ResultCallback& callback) {}
-
-void TestAutofillManagerDelegate::ShowAutofillPopup(
- const gfx::RectF& element_bounds,
- base::i18n::TextDirection text_direction,
- const std::vector<base::string16>& values,
- const std::vector<base::string16>& labels,
- const std::vector<base::string16>& icons,
- const std::vector<int>& identifiers,
- base::WeakPtr<AutofillPopupDelegate> delegate) {}
-
-void TestAutofillManagerDelegate::UpdateAutofillPopupDataListValues(
- const std::vector<base::string16>& values,
- const std::vector<base::string16>& labels) {}
-
-void TestAutofillManagerDelegate::HideAutofillPopup() {}
-
-bool TestAutofillManagerDelegate::IsAutocompleteEnabled() {
- return true;
-}
-
-void TestAutofillManagerDelegate::DetectAccountCreationForms(
- const std::vector<autofill::FormStructure*>& forms) {}
-
-void TestAutofillManagerDelegate::DidFillOrPreviewField(
- const base::string16& autofilled_value,
- const base::string16& profile_full_name) {}
-
-} // namespace autofill

Powered by Google App Engine
This is Rietveld 408576698