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

Unified Diff: ios/chrome/browser/passwords/credential_manager.h

Issue 1866643002: Reland: Switch components/password_manager code from IPC messages to Mojo. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase only 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 | « content/content_common_mojo_bindings.gyp ('k') | ios/chrome/browser/passwords/credential_manager.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/browser/passwords/credential_manager.h
diff --git a/ios/chrome/browser/passwords/credential_manager.h b/ios/chrome/browser/passwords/credential_manager.h
index da6c4d6e9bcca061ac61dc91a987822dc902cebe..68dcf723611e9d0205403cd9f2dd05659fe075db 100644
--- a/ios/chrome/browser/passwords/credential_manager.h
+++ b/ios/chrome/browser/passwords/credential_manager.h
@@ -58,9 +58,11 @@ class CredentialManager
bool IsZeroClickAllowed() const override;
GURL GetOrigin() const override;
void SendCredential(
- int id,
+ const password_manager::SendCredentialCallback& send_callback,
const password_manager::CredentialInfo& credential) override;
- void SendPasswordForm(int id, const autofill::PasswordForm* form) override;
+ void SendPasswordForm(
+ const password_manager::SendCredentialCallback& send_callback,
+ const autofill::PasswordForm* form) override;
password_manager::PasswordManagerClient* client() const override;
autofill::PasswordForm GetSynthesizedFormForOrigin() const override;
@@ -84,6 +86,9 @@ class CredentialManager
ERROR_TYPE_SECURITY_ERROR_UNTRUSTED_ORIGIN,
};
+ void SendCredentialByID(int request_id,
+ const password_manager::CredentialInfo& credential);
+
// Sends a message via |js_manager_| to resolve the JavaScript Promise
// associated with |request_id|. Invoked after a page-initiated credential
// event is acknowledged by the PasswordStore.
« no previous file with comments | « content/content_common_mojo_bindings.gyp ('k') | ios/chrome/browser/passwords/credential_manager.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698