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

Unified Diff: components/password_manager/core/browser/password_autofill_manager.h

Issue 2216463002: [Autofill] Migrate ContentPasswordManagerDriver<-->Password{Autofill,Generation}Agent IPCs to mojo. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix browser tests: PasswordManagerBrowserTestBase.InFrameNavigationDoesNotClearPopupState Created 4 years, 4 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/password_manager/core/browser/password_autofill_manager.h
diff --git a/components/password_manager/core/browser/password_autofill_manager.h b/components/password_manager/core/browser/password_autofill_manager.h
index 5bdaac74b617e4422eda40966b27e842cdee5a96..01abd7ba112f6b3eb74c898254a22041338edba5 100644
--- a/components/password_manager/core/browser/password_autofill_manager.h
+++ b/components/password_manager/core/browser/password_autofill_manager.h
@@ -66,6 +66,8 @@ class PasswordAutofillManager : public autofill::AutofillPopupDelegate {
// A public version of PreviewSuggestion(), only for use in tests.
bool PreviewSuggestionForTest(int key, const base::string16& username);
+ void TestingSetAutofillClient(autofill::AutofillClient* autofill_client);
vabr (Chromium) 2016/08/23 08:48:50 nit: To make it clear that this only sets the auto
leonhsl(Using Gerrit) 2016/08/23 09:03:08 Done.
+
private:
typedef std::map<int, autofill::PasswordFormFillData> LoginToPasswordInfoMap;
@@ -101,7 +103,7 @@ class PasswordAutofillManager : public autofill::AutofillPopupDelegate {
// The driver that owns |this|.
PasswordManagerDriver* password_manager_driver_;
- autofill::AutofillClient* const autofill_client_; // weak
+ autofill::AutofillClient* autofill_client_; // weak
base::WeakPtrFactory<PasswordAutofillManager> weak_ptr_factory_;

Powered by Google App Engine
This is Rietveld 408576698