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

Unified Diff: components/autofill/core/browser/autofill_external_delegate.h

Issue 184103016: Autofill: Refactoring to support fetching password after a username is selected (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Get unit tests compiling. Created 6 years, 9 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/core/browser/autofill_external_delegate.h
diff --git a/components/autofill/core/browser/autofill_external_delegate.h b/components/autofill/core/browser/autofill_external_delegate.h
index 96f069e55feed1aec8b1f7a6d1362a2756134d6a..0f632b9b4ed97b04c9d9142bd25d5542a490c081 100644
--- a/components/autofill/core/browser/autofill_external_delegate.h
+++ b/components/autofill/core/browser/autofill_external_delegate.h
@@ -11,16 +11,10 @@
#include "base/memory/weak_ptr.h"
#include "base/strings/string16.h"
#include "components/autofill/core/browser/autofill_popup_delegate.h"
-#include "components/autofill/core/browser/password_autofill_manager.h"
#include "components/autofill/core/common/form_data.h"
#include "components/autofill/core/common/form_field_data.h"
-#include "components/autofill/core/common/password_form_fill_data.h"
#include "ui/gfx/rect.h"
-namespace gfx {
-class Rect;
-}
-
namespace autofill {
class AutofillDriver;
@@ -73,12 +67,6 @@ class AutofillExternalDelegate
const std::vector<base::string16>& icons,
const std::vector<int>& unique_ids);
- // Show password suggestions in the popup.
- void OnShowPasswordSuggestions(const std::vector<base::string16>& suggestions,
- const std::vector<base::string16>& realms,
- const FormFieldData& field,
- const gfx::RectF& bounds);
-
// Set the data list value associated with the current field.
void SetCurrentDataListValues(
const std::vector<base::string16>& data_list_values,
@@ -92,10 +80,6 @@ class AutofillExternalDelegate
// values or settings.
void Reset();
- // Inform the Password Manager of a filled form.
- void AddPasswordFormMapping(const FormFieldData& username_field,
- const PasswordFormFillData& fill_data);
-
protected:
base::WeakPtr<AutofillExternalDelegate> GetWeakPtr();
@@ -133,9 +117,6 @@ class AutofillExternalDelegate
// outlive this object.
AutofillDriver* driver_; // weak
- // Password Autofill manager, handles all password-related Autofilling.
- PasswordAutofillManager password_manager_;
-
// The ID of the last request sent for form field Autofill. Used to ignore
// out of date responses.
int query_id_;

Powered by Google App Engine
This is Rietveld 408576698