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

Unified Diff: components/autofill/browser/test_autofill_manager_delegate.h

Issue 17392006: In components/autofill, move browser/ to core/browser/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase to fix conflicts Created 7 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/browser/test_autofill_manager_delegate.h
diff --git a/components/autofill/browser/test_autofill_manager_delegate.h b/components/autofill/browser/test_autofill_manager_delegate.h
deleted file mode 100644
index fc3dc411ebd9e35e80b51fd7244090252e2a5314..0000000000000000000000000000000000000000
--- a/components/autofill/browser/test_autofill_manager_delegate.h
+++ /dev/null
@@ -1,62 +0,0 @@
-// 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.
-
-#ifndef COMPONENTS_AUTOFILL_BROWSER_TEST_AUTOFILL_MANAGER_DELEGATE_H_
-#define COMPONENTS_AUTOFILL_BROWSER_TEST_AUTOFILL_MANAGER_DELEGATE_H_
-
-#include "base/compiler_specific.h"
-#include "base/i18n/rtl.h"
-#include "components/autofill/browser/autofill_manager_delegate.h"
-
-namespace autofill {
-
-// This class is only for easier writing of testings. All pure virtual functions
-// have been giving empty methods.
-class TestAutofillManagerDelegate : public AutofillManagerDelegate {
- public:
- TestAutofillManagerDelegate();
- virtual ~TestAutofillManagerDelegate();
-
- // AutofillManagerDelegate implementation.
- virtual PersonalDataManager* GetPersonalDataManager() OVERRIDE;
- virtual PrefService* GetPrefs() OVERRIDE;
- virtual autocheckout::WhitelistManager*
- GetAutocheckoutWhitelistManager() const OVERRIDE;
- virtual void HideRequestAutocompleteDialog() OVERRIDE;
- virtual void OnAutocheckoutError() OVERRIDE;
- virtual void OnAutocheckoutSuccess() OVERRIDE;
- virtual void ShowAutofillSettings() OVERRIDE;
- virtual void ConfirmSaveCreditCard(
- const AutofillMetrics& metric_logger,
- const CreditCard& credit_card,
- const base::Closure& save_card_callback) OVERRIDE;
- virtual void ShowAutocheckoutBubble(
- const gfx::RectF& bounding_box,
- bool is_google_user,
- const base::Callback<void(bool)>& callback) OVERRIDE;
- virtual void HideAutocheckoutBubble() OVERRIDE;
- virtual void ShowRequestAutocompleteDialog(
- const FormData& form,
- const GURL& source_url,
- DialogType dialog_type,
- const base::Callback<void(const FormStructure*,
- const std::string&)>& callback) OVERRIDE;
- virtual void 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) OVERRIDE;
- virtual void HideAutofillPopup() OVERRIDE;
- virtual void UpdateProgressBar(double value) OVERRIDE;
-
- private:
- DISALLOW_COPY_AND_ASSIGN(TestAutofillManagerDelegate);
-};
-
-} // namespace autofill
-
-#endif // COMPONENTS_AUTOFILL_BROWSER_TEST_AUTOFILL_MANAGER_DELEGATE_H_

Powered by Google App Engine
This is Rietveld 408576698