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

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

Issue 1582353006: CountryNames: Separate data creation from usage (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@571610_exposeCountryNamesToTesting
Patch Set: More Android fixes Created 4 years, 11 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_autofill_client.h
diff --git a/components/autofill/core/browser/test_autofill_client.h b/components/autofill/core/browser/test_autofill_client.h
index 62a70393eccb4fad4bbee53ea80bcc19f2cebb40..7ac88239d749920dac5ebb3337ed7d5448176027 100644
--- a/components/autofill/core/browser/test_autofill_client.h
+++ b/components/autofill/core/browser/test_autofill_client.h
@@ -67,6 +67,7 @@ class TestAutofillClient : public AutofillClient {
const base::string16& profile_full_name) override;
void OnFirstUserGestureObserved() override;
bool IsContextSecure(const GURL& form_origin) override;
+ const std::string& GetApplicationLocale() override;
void set_is_context_secure(bool is_context_secure) {
is_context_secure_ = is_context_secure;
@@ -87,6 +88,8 @@ class TestAutofillClient : public AutofillClient {
bool is_context_secure_;
+ std::string fake_locale_ = "en_US";
+
DISALLOW_COPY_AND_ASSIGN(TestAutofillClient);
};

Powered by Google App Engine
This is Rietveld 408576698