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

Unified Diff: chrome/browser/password_manager/password_manager_driver.h

Issue 151413008: Move ownership of Password(Generation)Manager to ContentPasswordDriver. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Handle WebContents having no PasswordManagerDelegateImpl attached Created 6 years, 10 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/password_manager/password_manager_driver.h
diff --git a/chrome/browser/password_manager/password_manager_driver.h b/chrome/browser/password_manager/password_manager_driver.h
index cbed2a217910ff977d69652936a76e3210c56d4e..4c64947d3ddb8d2c7a8be446ab87d47ab49a609a 100644
--- a/chrome/browser/password_manager/password_manager_driver.h
+++ b/chrome/browser/password_manager/password_manager_driver.h
@@ -5,6 +5,9 @@
#ifndef CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_MANAGER_DRIVER_H_
#define CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_MANAGER_DRIVER_H_
+class PasswordGenerationManager;
+class PasswordManager;
+
namespace autofill {
struct PasswordFormFillData;
} // namespace autofill
@@ -24,9 +27,14 @@ class PasswordManagerDriver {
// the last page load.
virtual bool DidLastPageLoadEncounterSSLErrors() = 0;
+ // Returns the PasswordGenerationManager associated with this instance.
+ virtual PasswordGenerationManager* GetPasswordGenerationManager() = 0;
+
+ // Returns the PasswordManager associated with this instance.
+ virtual PasswordManager* GetPasswordManager() = 0;
+
private:
DISALLOW_COPY_AND_ASSIGN(PasswordManagerDriver);
};
-
#endif // CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_MANAGER_DRIVER_H_

Powered by Google App Engine
This is Rietveld 408576698