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

Unified Diff: components/password_manager/content/browser/content_password_manager_driver.cc

Issue 2180093002: [Autofill] Switch on use_new_wrapper_types mode. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address nit Created 4 years, 5 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/autofill/content/renderer/autofill_agent.cc ('k') | mojo/common/OWNERS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/password_manager/content/browser/content_password_manager_driver.cc
diff --git a/components/password_manager/content/browser/content_password_manager_driver.cc b/components/password_manager/content/browser/content_password_manager_driver.cc
index 26a0ea132fdf955ea55370405d741b53eccf5fd9..b1aedaa1134f08f7e1168d8d8e98d2bca5ebb434 100644
--- a/components/password_manager/content/browser/content_password_manager_driver.cc
+++ b/components/password_manager/content/browser/content_password_manager_driver.cc
@@ -24,7 +24,6 @@
#include "content/public/browser/web_contents.h"
#include "content/public/common/ssl_status.h"
#include "ipc/ipc_message_macros.h"
-#include "mojo/common/common_type_converters.h"
#include "net/cert/cert_status_flags.h"
namespace password_manager {
@@ -94,15 +93,13 @@ void ContentPasswordManagerDriver::GeneratedPasswordAccepted(
void ContentPasswordManagerDriver::FillSuggestion(
const base::string16& username,
const base::string16& password) {
- GetAutofillAgent()->FillPasswordSuggestion(mojo::String::From(username),
- mojo::String::From(password));
+ GetAutofillAgent()->FillPasswordSuggestion(username, password);
}
void ContentPasswordManagerDriver::PreviewSuggestion(
const base::string16& username,
const base::string16& password) {
- GetAutofillAgent()->PreviewPasswordSuggestion(mojo::String::From(username),
- mojo::String::From(password));
+ GetAutofillAgent()->PreviewPasswordSuggestion(username, password);
}
void ContentPasswordManagerDriver::ShowInitialPasswordAccountSuggestions(
« no previous file with comments | « components/autofill/content/renderer/autofill_agent.cc ('k') | mojo/common/OWNERS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698