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

Unified Diff: chrome/browser/ui/cocoa/browser/password_generation_bubble_controller.mm

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.mm
diff --git a/chrome/browser/ui/cocoa/browser/password_generation_bubble_controller.mm b/chrome/browser/ui/cocoa/browser/password_generation_bubble_controller.mm
index 736ae92fc579dcfbc13023dc0fda52289b7c98d7..887e77a66e2f5bbcd9741c25e848eeb5deb56f90 100644
--- a/chrome/browser/ui/cocoa/browser/password_generation_bubble_controller.mm
+++ b/chrome/browser/ui/cocoa/browser/password_generation_bubble_controller.mm
@@ -15,9 +15,9 @@
#import "chrome/browser/ui/cocoa/styled_text_field_cell.h"
#include "components/autofill/core/browser/password_generator.h"
#include "components/autofill/core/common/autofill_messages.h"
+#include "components/autofill/core/common/password_form.h"
#include "components/autofill/core/common/password_generation_util.h"
#include "content/public/browser/render_view_host.h"
-#include "content/public/common/password_form.h"
#include "grit/generated_resources.h"
#include "grit/theme_resources.h"
#import "ui/base/cocoa/tracking_area.h"
@@ -294,7 +294,7 @@ const CGFloat kIconSize = 26.0;
renderViewHost:(content::RenderViewHost*)renderViewHost
passwordManager:(PasswordManager*)passwordManager
usingGenerator:(autofill::PasswordGenerator*)passwordGenerator
- forForm:(const content::PasswordForm&)form {
+ forForm:(const autofill::PasswordForm&)form {
CGFloat width = (kBorderSize*2 +
kTextFieldWidth +
kHorizontalSpacing +

Powered by Google App Engine
This is Rietveld 408576698