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

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: Add gyp 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..bf5f3c04724612b050a9a781bd5d8019e09200d5 100644
--- a/components/autofill/content/renderer/autofill_agent.h
+++ b/components/autofill/content/renderer/autofill_agent.h
@@ -66,16 +66,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 std::string& value) override;
+ void PreviewFieldWithValue(const std::string& value) override;
+ void AcceptDataListSuggestion(const std::string& value) override;
+ void FillPasswordSuggestion(const std::string& username,
+ const std::string& password) override;
+ void PreviewPasswordSuggestion(const std::string& username,
+ const std::string& password) override;
void ShowInitialPasswordAccountSuggestions(
int32_t key,
const PasswordFormFillData& form_data) override;

Powered by Google App Engine
This is Rietveld 408576698