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

Unified Diff: chrome/browser/webdata/web_data_service.h

Issue 279001: Move autofill related WebView{Delegate} methods into the WebKit API.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 2 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: chrome/browser/webdata/web_data_service.h
===================================================================
--- chrome/browser/webdata/web_data_service.h (revision 29209)
+++ chrome/browser/webdata/web_data_service.h (working copy)
@@ -57,7 +57,7 @@
PASSWORD_IE7_RESULT, // WDResult<IE7PasswordInfo>
#endif
WEB_APP_IMAGES, // WDResult<WDAppImagesResult>
- AUTOFILL_VALUE_RESULT, // WDResult<std::vector<std::wstring>>
+ AUTOFILL_VALUE_RESULT, // WDResult<std::vector<string16>>
} WDResultType;
// Result from GetWebAppImages.
@@ -382,16 +382,16 @@
// form input fields named |name|. The method OnWebDataServiceRequestDone of
// |consumer| gets called back when the request is finished, with the vector
// included in the argument |result|.
- Handle GetFormValuesForElementName(const std::wstring& name,
- const std::wstring& prefix,
+ Handle GetFormValuesForElementName(const string16& name,
+ const string16& prefix,
int limit,
WebDataServiceConsumer* consumer);
// Removes form elements recorded for autofill from the database.
void RemoveFormElementsAddedBetween(const base::Time& delete_begin,
const base::Time& delete_end);
- void RemoveFormValueForElementName(const std::wstring& name,
- const std::wstring& value);
+ void RemoveFormValueForElementName(const string16& name,
+ const string16& value);
protected:
friend class TemplateURLModelTest;
@@ -468,11 +468,11 @@
GenericRequest<std::vector<webkit_glue::AutofillForm::Element> >*
request);
void GetFormValuesForElementNameImpl(WebDataRequest* request,
- const std::wstring& name, const std::wstring& prefix, int limit);
+ const string16& name, const string16& prefix, int limit);
void RemoveFormElementsAddedBetweenImpl(
GenericRequest2<base::Time, base::Time>* request);
void RemoveFormValueForElementNameImpl(
- GenericRequest2<std::wstring, std::wstring>* request);
+ GenericRequest2<string16, string16>* request);
//////////////////////////////////////////////////////////////////////////////
//
« no previous file with comments | « chrome/browser/renderer_host/render_view_host_delegate.h ('k') | chrome/browser/webdata/web_data_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698