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

Unified Diff: components/autofill/browser/test_personal_data_manager.cc

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
« no previous file with comments | « components/autofill/browser/test_personal_data_manager.h ('k') | components/autofill/browser/validation.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/autofill/browser/test_personal_data_manager.cc
diff --git a/components/autofill/browser/test_personal_data_manager.cc b/components/autofill/browser/test_personal_data_manager.cc
deleted file mode 100644
index 1d904d8fb4889d9b36519b06b20ed1b95d91c9bc..0000000000000000000000000000000000000000
--- a/components/autofill/browser/test_personal_data_manager.cc
+++ /dev/null
@@ -1,42 +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/browser/test_personal_data_manager.h"
-
-#include "components/autofill/browser/personal_data_manager_observer.h"
-
-namespace autofill {
-
-TestPersonalDataManager::TestPersonalDataManager()
- : PersonalDataManager("en-US") {}
-
-TestPersonalDataManager::~TestPersonalDataManager() {}
-
-void TestPersonalDataManager::AddTestingProfile(AutofillProfile* profile) {
- profiles_.push_back(profile);
- FOR_EACH_OBSERVER(PersonalDataManagerObserver, observers_,
- OnPersonalDataChanged());
-}
-
-void TestPersonalDataManager::AddTestingCreditCard(CreditCard* credit_card) {
- credit_cards_.push_back(credit_card);
- FOR_EACH_OBSERVER(PersonalDataManagerObserver, observers_,
- OnPersonalDataChanged());
-}
-
-const std::vector<AutofillProfile*>& TestPersonalDataManager::GetProfiles() {
- return profiles_;
-}
-
-const std::vector<CreditCard*>& TestPersonalDataManager::
- GetCreditCards() const {
- return credit_cards_;
-}
-
-void TestPersonalDataManager::SaveImportedProfile(
- const AutofillProfile& imported_profile) {
- imported_profile_ = imported_profile;
-}
-
-} // namespace autofill
« no previous file with comments | « components/autofill/browser/test_personal_data_manager.h ('k') | components/autofill/browser/validation.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698