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

Unified Diff: components/password_manager/core/browser/password_manager_client.h

Issue 780183002: Remove ContentPasswordManagerDriver::GetAutofillManager (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: vabr review Created 6 years 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_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 085ade883d105a432e3fbbd5e473e58d97715ee1..95a96003c68c031524b04f3626355e50e962ad0f 100644
--- a/components/password_manager/core/browser/password_manager_client.h
+++ b/components/password_manager/core/browser/password_manager_client.h
@@ -12,6 +12,10 @@
class PrefService;
+namespace autofill {
+class AutofillManager;
+}
+
namespace password_manager {
struct CredentialInfo;
@@ -151,6 +155,9 @@ class PasswordManagerClient {
// Returns the PasswordManager associated with this client.
virtual PasswordManager* GetPasswordManager();
+ // Returns the AutofillManager for the main frame.
+ virtual autofill::AutofillManager* GetAutofillManagerForMainFrame();
+
private:
DISALLOW_COPY_AND_ASSIGN(PasswordManagerClient);
};

Powered by Google App Engine
This is Rietveld 408576698