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

Unified Diff: components/password_manager/core/browser/password_manager.cc

Issue 707173004: Refactor Autofill for out of process iframes (OOPIF). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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: components/password_manager/core/browser/password_manager.cc
diff --git a/components/password_manager/core/browser/password_manager.cc b/components/password_manager/core/browser/password_manager.cc
index c545f9f7e942605eef1f6ade1b6d75fa8a216821..5faa6abbf54a2a136dc19ad78513144c2f8201ed 100644
--- a/components/password_manager/core/browser/password_manager.cc
+++ b/components/password_manager/core/browser/password_manager.cc
@@ -125,8 +125,9 @@ void PasswordManager::RegisterLocalPrefs(PrefRegistrySimple* registry) {
}
#endif
-PasswordManager::PasswordManager(PasswordManagerClient* client)
- : client_(client), driver_(client->GetDriver()) {
+PasswordManager::PasswordManager(PasswordManagerClient* client,
+ PasswordManagerDriver* driver)
+ : client_(client), driver_(driver) {
DCHECK(client_);
DCHECK(driver_);
saving_passwords_enabled_.Init(prefs::kPasswordManagerSavingEnabled,

Powered by Google App Engine
This is Rietveld 408576698