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

Unified Diff: chrome/browser/ui/passwords/passwords_client_ui_delegate.h

Issue 2262843002: Make PasswordFormManager::best_matches_ const (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@621355_pass_creds_to_update_by_value
Patch Set: Just rebased Created 4 years, 4 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/ui/passwords/passwords_client_ui_delegate.h
diff --git a/chrome/browser/ui/passwords/passwords_client_ui_delegate.h b/chrome/browser/ui/passwords/passwords_client_ui_delegate.h
index fe99add5b523e071cafd54c578f223f0524405bc..4bc395ff9826dbc8dbe332e175087291ac732212 100644
--- a/chrome/browser/ui/passwords/passwords_client_ui_delegate.h
+++ b/chrome/browser/ui/passwords/passwords_client_ui_delegate.h
@@ -5,10 +5,12 @@
#ifndef CHROME_BROWSER_UI_PASSWORDS_PASSWORDS_CLIENT_UI_DELEGATE_H_
#define CHROME_BROWSER_UI_PASSWORDS_PASSWORDS_CLIENT_UI_DELEGATE_H_
+#include <map>
#include <memory>
#include <vector>
#include "base/callback.h"
+#include "base/strings/string16.h"
#include "components/autofill/core/common/password_form.h"
namespace content {
@@ -70,10 +72,10 @@ class PasswordsClientUIDelegate {
// the manage password icon. |federated_matches| contain the matching stored
// federated credentials to display in the UI.
virtual void OnPasswordAutofilled(
- const autofill::PasswordFormMap& password_form_map,
+ const std::map<base::string16, const autofill::PasswordForm*>&
+ password_form_map,
const GURL& origin,
- const std::vector<std::unique_ptr<autofill::PasswordForm>>*
- federated_matches) = 0;
+ const std::vector<const autofill::PasswordForm*>* federated_matches) = 0;
protected:
virtual ~PasswordsClientUIDelegate() = default;

Powered by Google App Engine
This is Rietveld 408576698