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

Unified Diff: chrome/browser/extensions/api/passwords_private/passwords_private_api.h

Issue 1892613006: Add functions to the passwords private api that update the lists. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nits Created 4 years, 8 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/passwords_private/passwords_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/passwords_private/passwords_private_api.h
diff --git a/chrome/browser/extensions/api/passwords_private/passwords_private_api.h b/chrome/browser/extensions/api/passwords_private/passwords_private_api.h
index 392a1f678b49630be636de850cc5394aa5735a3a..b8789f5aca453e4dffeb4dffbf777d2c7f60f9e9 100644
--- a/chrome/browser/extensions/api/passwords_private/passwords_private_api.h
+++ b/chrome/browser/extensions/api/passwords_private/passwords_private_api.h
@@ -65,6 +65,40 @@ class PasswordsPrivateRequestPlaintextPasswordFunction :
DISALLOW_COPY_AND_ASSIGN(PasswordsPrivateRequestPlaintextPasswordFunction);
};
+class PasswordsPrivateGetSavedPasswordListFunction
+ : public UIThreadExtensionFunction {
+ public:
+ PasswordsPrivateGetSavedPasswordListFunction() {}
+ DECLARE_EXTENSION_FUNCTION("passwordsPrivate.getSavedPasswordList",
+ PASSWORDSPRIVATE_GETSAVEDPASSWORDLIST);
+
+ protected:
+ ~PasswordsPrivateGetSavedPasswordListFunction() override;
+
+ // ExtensionFunction overrides.
+ ResponseAction Run() override;
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(PasswordsPrivateGetSavedPasswordListFunction);
+};
+
+class PasswordsPrivateGetPasswordExceptionListFunction
+ : public UIThreadExtensionFunction {
+ public:
+ PasswordsPrivateGetPasswordExceptionListFunction() {}
+ DECLARE_EXTENSION_FUNCTION("passwordsPrivate.getPasswordExceptionList",
+ PASSWORDSPRIVATE_GETPASSWORDEXCEPTIONLIST);
+
+ protected:
+ ~PasswordsPrivateGetPasswordExceptionListFunction() override;
+
+ // ExtensionFunction overrides.
+ ResponseAction Run() override;
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(PasswordsPrivateGetPasswordExceptionListFunction);
+};
+
} // namespace extensions
#endif // CHROME_BROWSER_EXTENSIONS_API_PASSWORDS_PRIVATE_PASSWORDS_PRIVATE_API_H_
« no previous file with comments | « no previous file | chrome/browser/extensions/api/passwords_private/passwords_private_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698