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

Unified Diff: components/autofill/content/renderer/autofill_agent.h

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
Index: components/autofill/content/renderer/autofill_agent.h
diff --git a/components/autofill/content/renderer/autofill_agent.h b/components/autofill/content/renderer/autofill_agent.h
index 1808bc21bb0b673a4e25756e224241c04c5c1942..8041fdd82ef41bdf64fe522c40e36a5e922ccc76 100644
--- a/components/autofill/content/renderer/autofill_agent.h
+++ b/components/autofill/content/renderer/autofill_agent.h
@@ -11,6 +11,7 @@
#include "base/compiler_specific.h"
#include "base/macros.h"
#include "base/memory/weak_ptr.h"
+#include "base/strings/string16.h"
#include "base/time/time.h"
#include "components/autofill/content/public/interfaces/autofill_agent.mojom.h"
#include "components/autofill/content/public/interfaces/autofill_driver.mojom.h"
@@ -66,16 +67,16 @@ class AutofillAgent : public content::RenderFrameObserver,
void FillForm(int32_t id, const FormData& form) override;
void PreviewForm(int32_t id, const FormData& form) override;
void FieldTypePredictionsAvailable(
- mojo::Array<FormDataPredictions> forms) override;
+ const std::vector<FormDataPredictions>& forms) override;
void ClearForm() override;
void ClearPreviewedForm() override;
- void FillFieldWithValue(const mojo::String& value) override;
- void PreviewFieldWithValue(const mojo::String& value) override;
- void AcceptDataListSuggestion(const mojo::String& value) override;
- void FillPasswordSuggestion(const mojo::String& username,
- const mojo::String& password) override;
- void PreviewPasswordSuggestion(const mojo::String& username,
- const mojo::String& password) override;
+ void FillFieldWithValue(const base::string16& value) override;
+ void PreviewFieldWithValue(const base::string16& value) override;
+ void AcceptDataListSuggestion(const base::string16& value) override;
+ void FillPasswordSuggestion(const base::string16& username,
+ const base::string16& password) override;
+ void PreviewPasswordSuggestion(const base::string16& username,
+ const base::string16& password) override;
void ShowInitialPasswordAccountSuggestions(
int32_t key,
const PasswordFormFillData& form_data) override;

Powered by Google App Engine
This is Rietveld 408576698