diff options
Diffstat (limited to 'chrome/browser/webdata/web_data_service.h')
-rw-r--r-- | chrome/browser/webdata/web_data_service.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/chrome/browser/webdata/web_data_service.h b/chrome/browser/webdata/web_data_service.h index f15911b..03b7766 100644 --- a/chrome/browser/webdata/web_data_service.h +++ b/chrome/browser/webdata/web_data_service.h @@ -57,7 +57,7 @@ typedef enum { 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 @@ class WebDataService : public base::RefCountedThreadSafe<WebDataService> { // 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 @@ class WebDataService : public base::RefCountedThreadSafe<WebDataService> { 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); ////////////////////////////////////////////////////////////////////////////// // |