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

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

Issue 156173004: Abstract IPC send out of PasswordGenerationManager (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Adjust PasswordGenerationManager unittests 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 74cc845a1a458acdf989a771ef8c116faddbd31b..3cd772ebce8d19115eff040c3870648c8ee96dbb 100644
--- a/chrome/browser/password_manager/password_manager_driver.h
+++ b/chrome/browser/password_manager/password_manager_driver.h
@@ -5,11 +5,14 @@
#ifndef CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_MANAGER_DRIVER_H_
#define CHROME_BROWSER_PASSWORD_MANAGER_PASSWORD_MANAGER_DRIVER_H_
+#include <vector>
+
class PasswordGenerationManager;
class PasswordManager;
namespace autofill {
class AutofillManager;
+struct FormData;
struct PasswordForm;
struct PasswordFormFillData;
} // namespace autofill
@@ -44,6 +47,10 @@ class PasswordManagerDriver {
// Informs the driver that |form| can be used for password generation.
virtual void AllowPasswordGenerationForForm(autofill::PasswordForm* form) = 0;
+ // Notifies the driver that account creation |forms| were found.
+ virtual void AccountCreationFormsFound(
+ const std::vector<autofill::FormData>& forms) = 0;
+
private:
DISALLOW_COPY_AND_ASSIGN(PasswordManagerDriver);
};

Powered by Google App Engine
This is Rietveld 408576698