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

Unified Diff: components/autofill/content/renderer/password_generation_manager.h

Issue 23742004: Move PasswordForm from //content to //autofill. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@move_password_form_conversion_utils
Patch Set: Rebase Created 7 years, 3 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: components/autofill/content/renderer/password_generation_manager.h
diff --git a/components/autofill/content/renderer/password_generation_manager.h b/components/autofill/content/renderer/password_generation_manager.h
index a8cbe9235c7be0dba5e2a4822cee71b71a0e196a..82ce48932d8618db5befdb93b2f8d7bcb3e7433c 100644
--- a/components/autofill/content/renderer/password_generation_manager.h
+++ b/components/autofill/content/renderer/password_generation_manager.h
@@ -21,14 +21,9 @@ class WebDocument;
}
namespace autofill {
-struct FormData;
-}
-namespace content {
+struct FormData;
struct PasswordForm;
-}
-
-namespace autofill {
// This class is responsible for controlling communication for password
// generation between the browser (which shows the popup and generates
@@ -56,7 +51,7 @@ class PasswordGenerationManager : public content::RenderViewObserver,
virtual void openPasswordGenerator(WebKit::WebInputElement& element) OVERRIDE;
// Message handlers.
- void OnFormNotBlacklisted(const content::PasswordForm& form);
+ void OnFormNotBlacklisted(const PasswordForm& form);
void OnPasswordAccepted(const base::string16& password);
void OnPasswordGenerationEnabled(bool enabled);
void OnAccountCreationFormsDetected(
@@ -72,7 +67,7 @@ class PasswordGenerationManager : public content::RenderViewObserver,
bool enabled_;
// Stores the origin of the account creation form we detected.
- scoped_ptr<content::PasswordForm> possible_account_creation_form_;
+ scoped_ptr<PasswordForm> possible_account_creation_form_;
// Stores the origins of the password forms confirmed not to be blacklisted
// by the browser. A form can be blacklisted if a user chooses "never save

Powered by Google App Engine
This is Rietveld 408576698