Chromium Code Reviews| Index: chrome/browser/automation/testing_automation_provider.h |
| =================================================================== |
| --- chrome/browser/automation/testing_automation_provider.h (revision 72138) |
| +++ chrome/browser/automation/testing_automation_provider.h (working copy) |
| @@ -138,11 +138,11 @@ |
| // Retrieves the visible text from the autocomplete edit. |
| void GetAutocompleteEditText(int autocomplete_edit_handle, |
| - bool* success, std::wstring* text); |
| + bool* success, string16* text); |
| // Sets the visible text from the autocomplete edit. |
| void SetAutocompleteEditText(int autocomplete_edit_handle, |
| - const std::wstring& text, |
| + const string16& text, |
| bool* success); |
| // Retrieves if a query to an autocomplete provider is in progress. |
| @@ -688,9 +688,9 @@ |
| // Return the map from the internal data representation to the string value |
| // of auto fill fields and credit card fields. |
| - static std::map<AutoFillFieldType, std::wstring> |
| + static std::map<AutoFillFieldType, std::string> |
|
evanm
2011/01/24 19:14:14
Why did we use UTF-8 here? You can autofill an e.
Avi (use Gerrit)
2011/01/24 19:46:42
That's not what this map is for. This map does not
|
| GetAutoFillFieldToStringMap(); |
| - static std::map<AutoFillFieldType, std::wstring> |
| + static std::map<AutoFillFieldType, std::string> |
| GetCreditCardFieldToStringMap(); |
| // Get a list of active HTML5 notifications. |