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

Unified Diff: chrome/browser/ui/views/password_generation_bubble_view.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/views/password_generation_bubble_view.h
diff --git a/chrome/browser/ui/views/password_generation_bubble_view.h b/chrome/browser/ui/views/password_generation_bubble_view.h
index 74c38e52eebab47c1fd95ef84c497d4ff8796dfc..a8ef93210b9d0bc80602751346b6b60f1024d746 100644
--- a/chrome/browser/ui/views/password_generation_bubble_view.h
+++ b/chrome/browser/ui/views/password_generation_bubble_view.h
@@ -6,8 +6,8 @@
#define CHROME_BROWSER_UI_VIEWS_PASSWORD_GENERATION_BUBBLE_VIEW_H_
#include "base/basictypes.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"
#include "ui/gfx/rect.h"
#include "ui/views/bubble/bubble_delegate.h"
#include "ui/views/controls/button/button.h"
@@ -39,7 +39,7 @@ class PasswordGenerationBubbleView : public views::BubbleDelegateView,
public views::ButtonListener,
public views::TextfieldController {
public:
- PasswordGenerationBubbleView(const content::PasswordForm& form,
+ PasswordGenerationBubbleView(const autofill::PasswordForm& form,
const gfx::Rect& anchor_rect,
views::View* anchor_view,
content::RenderViewHost* render_view_host,
@@ -80,7 +80,7 @@ class PasswordGenerationBubbleView : public views::BubbleDelegateView,
views::View* textfield_wrapper_;
// The form associated with the password field(s) that we are generated.
- content::PasswordForm form_;
+ autofill::PasswordForm form_;
// Location that the bubble points to
gfx::Rect anchor_rect_;
« no previous file with comments | « chrome/browser/ui/views/login_prompt_views.cc ('k') | chrome/browser/ui/views/password_generation_bubble_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698