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

Unified Diff: chrome/browser/extensions/api/autofill_private/autofill_private_api.h

Issue 2028903002: Update Autofill Private API to provide a list of available countries. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nits Created 4 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 | « no previous file | chrome/browser/extensions/api/autofill_private/autofill_private_api.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/api/autofill_private/autofill_private_api.h
diff --git a/chrome/browser/extensions/api/autofill_private/autofill_private_api.h b/chrome/browser/extensions/api/autofill_private/autofill_private_api.h
index 9a34697c635f8f523e7244aee512ff8e783ef593..db7e98cfc25939f598c25d456da7b0c8634c7885 100644
--- a/chrome/browser/extensions/api/autofill_private/autofill_private_api.h
+++ b/chrome/browser/extensions/api/autofill_private/autofill_private_api.h
@@ -31,6 +31,24 @@ class AutofillPrivateSaveAddressFunction : public UIThreadExtensionFunction {
DISALLOW_COPY_AND_ASSIGN(AutofillPrivateSaveAddressFunction);
};
+class AutofillPrivateGetCountryListFunction : public UIThreadExtensionFunction {
+ public:
+ AutofillPrivateGetCountryListFunction();
+ DECLARE_EXTENSION_FUNCTION("autofillPrivate.getCountryList",
+ AUTOFILLPRIVATE_GETCOUNTRYLIST);
+
+ protected:
+ ~AutofillPrivateGetCountryListFunction() override;
+
+ // ExtensionFunction overrides.
+ ResponseAction Run() override;
+
+ private:
+ ChromeExtensionFunctionDetails chrome_details_;
+
+ DISALLOW_COPY_AND_ASSIGN(AutofillPrivateGetCountryListFunction);
+};
+
class AutofillPrivateGetAddressComponentsFunction :
public UIThreadExtensionFunction {
public:
« no previous file with comments | « no previous file | chrome/browser/extensions/api/autofill_private/autofill_private_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698