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

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

Issue 2274783002: Revert of [Autofill] Migrate ContentPasswordManagerDriver<-->Password{Autofill,Generation}Agent IPCs to mojo. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
« no previous file with comments | « components/password_manager/content/browser/content_password_manager_driver_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 c1075c324df3d703ab1da6e3cb2a513e0fcb3a90..5bdaac74b617e4422eda40966b27e842cdee5a96 100644
--- a/components/password_manager/core/browser/password_autofill_manager.h
+++ b/components/password_manager/core/browser/password_autofill_manager.h
@@ -66,11 +66,6 @@
// A public version of PreviewSuggestion(), only for use in tests.
bool PreviewSuggestionForTest(int key, const base::string16& username);
- // Only use in tests.
- void set_autofill_client(autofill::AutofillClient* autofill_client) {
- autofill_client_ = autofill_client;
- }
-
private:
typedef std::map<int, autofill::PasswordFormFillData> LoginToPasswordInfoMap;
@@ -106,7 +101,7 @@
// The driver that owns |this|.
PasswordManagerDriver* password_manager_driver_;
- autofill::AutofillClient* autofill_client_; // weak
+ autofill::AutofillClient* const autofill_client_; // weak
base::WeakPtrFactory<PasswordAutofillManager> weak_ptr_factory_;
« no previous file with comments | « components/password_manager/content/browser/content_password_manager_driver_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698