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

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

Issue 12434004: Move remaining Autofill code to //components/autofill. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix long lines Created 7 years, 9 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: chrome/browser/autofill/test_autofill_manager_delegate.h
diff --git a/chrome/browser/autofill/test_autofill_manager_delegate.h b/chrome/browser/autofill/test_autofill_manager_delegate.h
deleted file mode 100644
index 349a5fdf01d793ecfc9f929cc0fc8dc8b66e7d0b..0000000000000000000000000000000000000000
--- a/chrome/browser/autofill/test_autofill_manager_delegate.h
+++ /dev/null
@@ -1,65 +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 CHROME_BROWSER_AUTOFILL_TEST_AUTOFILL_MANAGER_DELEGATE_H_
-#define CHROME_BROWSER_AUTOFILL_TEST_AUTOFILL_MANAGER_DELEGATE_H_
-
-#include "base/compiler_specific.h"
-#include "chrome/browser/autofill/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 void HideRequestAutocompleteDialog() OVERRIDE;
- virtual bool IsSavingPasswordsEnabled() const OVERRIDE;
- virtual bool IsPasswordSyncEnabled() const OVERRIDE;
- virtual void SetSyncStateChangedCallback(
- const base::Closure& callback) OVERRIDE;
- virtual void OnAutocheckoutError() 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 ShowPasswordGenerationBubble(
- const gfx::Rect& bounds,
- const content::PasswordForm& form,
- autofill::PasswordGenerator* generator) OVERRIDE;
- virtual void ShowAutocheckoutBubble(
- const gfx::RectF& bounding_box,
- const gfx::NativeView& native_view,
- const base::Closure& callback) OVERRIDE;
- virtual void 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) OVERRIDE;
- virtual void RequestAutocompleteDialogClosed() OVERRIDE;
- virtual void 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) OVERRIDE;
- virtual void HideAutofillPopup() OVERRIDE;
- virtual void UpdateProgressBar(double value) OVERRIDE;
-
- private:
- DISALLOW_COPY_AND_ASSIGN(TestAutofillManagerDelegate);
-};
-
-} // namespace autofill
-
-#endif // CHROME_BROWSER_AUTOFILL_TEST_AUTOFILL_MANAGER_DELEGATE_H_
« no previous file with comments | « chrome/browser/autofill/test_autofill_external_delegate.cc ('k') | chrome/browser/autofill/test_autofill_manager_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698