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

Unified Diff: chrome/browser/extensions/api/passwords_private/passwords_private_delegate.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
Index: chrome/browser/extensions/api/passwords_private/passwords_private_delegate.h
diff --git a/chrome/browser/extensions/api/passwords_private/passwords_private_delegate.h b/chrome/browser/extensions/api/passwords_private/passwords_private_delegate.h
index f7a15c68fb1a6794b9e8799fac1bc0f176f2b381..3bfefe789a6ad5914adc5e1a3dd1ae45572ff1b3 100644
--- a/chrome/browser/extensions/api/passwords_private/passwords_private_delegate.h
+++ b/chrome/browser/extensions/api/passwords_private/passwords_private_delegate.h
@@ -41,9 +41,16 @@ class PasswordsPrivateDelegate : public KeyedService {
// Sends the saved passwords list to the event router.
virtual void SendSavedPasswordsList() = 0;
+ // Gets the saved passwords list.
+ virtual const std::vector<api::passwords_private::PasswordUiEntry>*
+ GetSavedPasswordsList() const = 0;
+
// Sends the password exceptions list to the event router.
virtual void SendPasswordExceptionsList() = 0;
+ // Gets the password exceptions list.
+ virtual const std::vector<std::string>* GetPasswordExceptionsList() const = 0;
+
// Removes the saved password entry corresponding to |origin_url| and
// |username|.
// |origin_url| The human-readable origin for the URL where the password is

Powered by Google App Engine
This is Rietveld 408576698