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

Side by Side Diff: components/autofill/core/browser/test_personal_data_manager.h

Issue 2403773002: Remove stl_util's STLDeleteContainerPointers from autofill. (Closed)
Patch Set: rebase Created 4 years, 2 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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_TEST_PERSONAL_DATA_MANAGER_H_ 5 #ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_TEST_PERSONAL_DATA_MANAGER_H_
6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_TEST_PERSONAL_DATA_MANAGER_H_ 6 #define COMPONENTS_AUTOFILL_CORE_BROWSER_TEST_PERSONAL_DATA_MANAGER_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "components/autofill/core/browser/autofill_profile.h" 10 #include "components/autofill/core/browser/autofill_profile.h"
(...skipping 16 matching lines...) Expand all
27 void AddTestingProfile(AutofillProfile* profile); 27 void AddTestingProfile(AutofillProfile* profile);
28 28
29 // Adds |credit_card| to |credit_cards_|. This does not take ownership of 29 // Adds |credit_card| to |credit_cards_|. This does not take ownership of
30 // |credit_card|. 30 // |credit_card|.
31 void AddTestingCreditCard(CreditCard* credit_card); 31 void AddTestingCreditCard(CreditCard* credit_card);
32 32
33 // Adds |credit_card| to |server_credit_cards_| by copying. 33 // Adds |credit_card| to |server_credit_cards_| by copying.
34 void AddTestingServerCreditCard(const CreditCard& credit_card); 34 void AddTestingServerCreditCard(const CreditCard& credit_card);
35 35
36 const std::vector<AutofillProfile*>& GetProfiles() const override; 36 const std::vector<AutofillProfile*>& GetProfiles() const override;
37 const std::vector<AutofillProfile*>& web_profiles() const override; 37 std::vector<AutofillProfile*> web_profiles() const override;
38 const std::vector<CreditCard*>& GetCreditCards() const override; 38 const std::vector<CreditCard*>& GetCreditCards() const override;
39 39
40 std::string SaveImportedProfile( 40 std::string SaveImportedProfile(
41 const AutofillProfile& imported_profile) override; 41 const AutofillProfile& imported_profile) override;
42 std::string SaveImportedCreditCard( 42 std::string SaveImportedCreditCard(
43 const CreditCard& imported_credit_card) override; 43 const CreditCard& imported_credit_card) override;
44 44
45 std::string CountryCodeForCurrentTimezone() const override; 45 std::string CountryCodeForCurrentTimezone() const override;
46 const std::string& GetDefaultCountryCodeForNewAddress() const override; 46 const std::string& GetDefaultCountryCodeForNewAddress() const override;
47 47
(...skipping 12 matching lines...) Expand all
60 std::vector<CreditCard*> credit_cards_; 60 std::vector<CreditCard*> credit_cards_;
61 AutofillProfile imported_profile_; 61 AutofillProfile imported_profile_;
62 CreditCard imported_credit_card_; 62 CreditCard imported_credit_card_;
63 std::string timezone_country_code_; 63 std::string timezone_country_code_;
64 std::string default_country_code_; 64 std::string default_country_code_;
65 }; 65 };
66 66
67 } // namespace autofill 67 } // namespace autofill
68 68
69 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_TEST_PERSONAL_DATA_MANAGER_H_ 69 #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_TEST_PERSONAL_DATA_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698