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

Unified Diff: chrome/browser/ui/cocoa/browser/password_generation_bubble_controller.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: chrome/browser/ui/cocoa/browser/password_generation_bubble_controller.h
diff --git a/chrome/browser/ui/cocoa/browser/password_generation_bubble_controller.h b/chrome/browser/ui/cocoa/browser/password_generation_bubble_controller.h
index f98dd89285fd011f9c0b47cfa08c7b76ba14971c..6683d420a21a0080e168b31fdc4f7bde597e0b44 100644
--- a/chrome/browser/ui/cocoa/browser/password_generation_bubble_controller.h
+++ b/chrome/browser/ui/cocoa/browser/password_generation_bubble_controller.h
@@ -9,8 +9,8 @@
#import "chrome/browser/ui/cocoa/base_bubble_controller.h"
#import "chrome/browser/ui/cocoa/styled_text_field.h"
+#include "components/autofill/core/common/password_form.h"
#include "components/autofill/core/common/password_generation_util.h"
-#include "content/public/common/password_form.h"
namespace autofill {
class PasswordGenerator;
@@ -41,7 +41,7 @@ class PasswordManager;
content::RenderViewHost* renderViewHost_;
PasswordManager* passwordManager_;
autofill::PasswordGenerator* passwordGenerator_;
- content::PasswordForm form_;
+ autofill::PasswordForm form_;
autofill::password_generation::PasswordGenerationActions actions_;
PasswordGenerationTextField* textField_; // weak
@@ -54,7 +54,7 @@ class PasswordManager;
renderViewHost:(content::RenderViewHost*)renderViewHost
passwordManager:(PasswordManager*)passwordManager
usingGenerator:(autofill::PasswordGenerator*)passwordGenerator
- forForm:(const content::PasswordForm&)form;
+ forForm:(const autofill::PasswordForm&)form;
- (void)performLayout;
- (IBAction)fillPassword:(id)sender;
- (void)regeneratePassword;
« no previous file with comments | « chrome/browser/ui/browser_window.h ('k') | chrome/browser/ui/cocoa/browser/password_generation_bubble_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698