Index: components/password_manager/core/browser/password_manager_client.h |
diff --git a/components/password_manager/core/browser/password_manager_client.h b/components/password_manager/core/browser/password_manager_client.h |
index a3579e789aef850fb55c8b77814be6d6ce54e64a..e6aa8317e0a6da3837cede76510ebe2151b9c3f8 100644 |
--- a/components/password_manager/core/browser/password_manager_client.h |
+++ b/components/password_manager/core/browser/password_manager_client.h |
@@ -34,6 +34,11 @@ class PasswordManagerClient { |
// always returns true. |
virtual bool IsPasswordManagerEnabledForCurrentPage() const; |
+ // Returns true if |username| and |origin| correspond to the account which is |
+ // syncing passwords. |
+ virtual bool IsPasswordSyncAccountCredential( |
+ const std::string& username, const std::string& origin) const = 0; |
+ |
// Informs the embedder of a password form that can be saved if the user |
// allows it. The embedder is not required to prompt the user if it decides |
// that this form doesn't need to be saved. |