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

Unified Diff: components/webdata/autofill/autofill_table.h

Issue 13973004: Convert string16 -> base::string16 in components/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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/webdata/autofill/autofill_table.h
diff --git a/components/webdata/autofill/autofill_table.h b/components/webdata/autofill/autofill_table.h
index c0c24bb28b6356f5aaad70edd8b836da0c6caa38..7d102b3131ac22a724dc954dc4393441341e723f 100644
--- a/components/webdata/autofill/autofill_table.h
+++ b/components/webdata/autofill/autofill_table.h
@@ -142,9 +142,9 @@ class AutofillTable : public WebDatabaseTable {
// Retrieves a vector of all values which have been recorded in the autofill
// table as the value in a form element with name |name| and which start with
// |prefix|. The comparison of the prefix is case insensitive.
- bool GetFormValuesForElementName(const string16& name,
- const string16& prefix,
- std::vector<string16>* values,
+ bool GetFormValuesForElementName(const base::string16& name,
+ const base::string16& prefix,
+ std::vector<base::string16>* values,
int limit);
// Removes rows from autofill_dates if they were created on or after
@@ -206,14 +206,15 @@ class AutofillTable : public WebDatabaseTable {
bool RemoveFormElementForID(int64 pair_id);
// Removes row from the autofill tables for the given |name| |value| pair.
- virtual bool RemoveFormElement(const string16& name, const string16& value);
+ virtual bool RemoveFormElement(const base::string16& name,
+ const base::string16& value);
// Retrieves all of the entries in the autofill table.
virtual bool GetAllAutofillEntries(std::vector<AutofillEntry>* entries);
// Retrieves a single entry from the autofill table.
- virtual bool GetAutofillTimestamps(const string16& name,
- const string16& value,
+ virtual bool GetAutofillTimestamps(const base::string16& name,
+ const base::string16& value,
std::vector<base::Time>* timestamps);
// Replaces existing autofill entries with the entries supplied in

Powered by Google App Engine
This is Rietveld 408576698