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

Unified Diff: components/autofill/core/browser/test_personal_data_manager.h

Issue 106033007: Disable wallet in countries where it's not supported, take 2. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 12 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_personal_data_manager.h
diff --git a/components/autofill/core/browser/test_personal_data_manager.h b/components/autofill/core/browser/test_personal_data_manager.h
index 1149f937e63ca30c008a1a856f7d4fae70133457..e5f1427366cd902c5c694c2aeaefb9d2bcf97b49 100644
--- a/components/autofill/core/browser/test_personal_data_manager.h
+++ b/components/autofill/core/browser/test_personal_data_manager.h
@@ -27,6 +27,7 @@ class TestPersonalDataManager : public PersonalDataManager {
void AddTestingCreditCard(CreditCard* credit_card);
virtual const std::vector<AutofillProfile*>& GetProfiles() const OVERRIDE;
+ virtual const std::vector<AutofillProfile*>& web_profiles() const OVERRIDE;
virtual const std::vector<CreditCard*>& GetCreditCards() const OVERRIDE;
virtual std::string SaveImportedProfile(
@@ -34,11 +35,10 @@ class TestPersonalDataManager : public PersonalDataManager {
virtual std::string SaveImportedCreditCard(
const CreditCard& imported_credit_card) OVERRIDE;
- virtual const std::string& GetDefaultCountryCodeForNewAddress() const
- OVERRIDE;
+ virtual std::string CountryCodeForCurrentTimezone() const OVERRIDE;
Dan Beam 2014/01/02 22:10:39 ^ why not keep this as a reference?
Evan Stade 2014/01/02 22:23:16 because the real implementation isn't able to retu
Dan Beam 2014/01/02 22:30:37 ah
- void set_default_country_code(const std::string& default_country_code) {
- default_country_code_ = default_country_code;
+ void set_timezone_country_code(const std::string& timezone_country_code) {
+ timezone_country_code_ = timezone_country_code;
}
const AutofillProfile& imported_profile() { return imported_profile_; }
@@ -49,7 +49,7 @@ class TestPersonalDataManager : public PersonalDataManager {
std::vector<CreditCard*> credit_cards_;
AutofillProfile imported_profile_;
CreditCard imported_credit_card_;
- std::string default_country_code_;
+ std::string timezone_country_code_;
};
} // namespace autofill

Powered by Google App Engine
This is Rietveld 408576698