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

Unified Diff: chrome/test/automation/autocomplete_edit_proxy.h

Issue 6306011: Remove wstring from autocomplete. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 11 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/test/automation/autocomplete_edit_proxy.h
===================================================================
--- chrome/test/automation/autocomplete_edit_proxy.h (revision 72388)
+++ chrome/test/automation/autocomplete_edit_proxy.h (working copy)
@@ -48,11 +48,11 @@
std::string provider_name;
int relevance;
bool deletable;
- std::wstring fill_into_edit;
+ string16 fill_into_edit;
size_t inline_autocomplete_offset;
GURL destination_url;
- std::wstring contents;
- std::wstring description;
+ string16 contents;
+ string16 description;
bool is_history_what_you_typed_match;
std::string type;
bool starred;
@@ -68,11 +68,11 @@
m->WriteString(p.provider_name);
m->WriteInt(p.relevance);
m->WriteBool(p.deletable);
- m->WriteWString(p.fill_into_edit);
+ m->WriteString16(p.fill_into_edit);
m->WriteSize(p.inline_autocomplete_offset);
m->WriteString(p.destination_url.possibly_invalid_spec());
- m->WriteWString(p.contents);
- m->WriteWString(p.description);
+ m->WriteString16(p.contents);
+ m->WriteString16(p.description);
m->WriteBool(p.is_history_what_you_typed_match);
m->WriteString(p.type);
m->WriteBool(p.starred);
@@ -83,11 +83,11 @@
if (!m->ReadString(iter, &r->provider_name) ||
!m->ReadInt(iter, &r->relevance) ||
!m->ReadBool(iter, &r->deletable) ||
- !m->ReadWString(iter, &r->fill_into_edit) ||
+ !m->ReadString16(iter, &r->fill_into_edit) ||
!m->ReadSize(iter, &r->inline_autocomplete_offset) ||
!m->ReadString(iter, &destination_url) ||
- !m->ReadWString(iter, &r->contents) ||
- !m->ReadWString(iter, &r->description) ||
+ !m->ReadString16(iter, &r->contents) ||
+ !m->ReadString16(iter, &r->description) ||
!m->ReadBool(iter, &r->is_history_what_you_typed_match) ||
!m->ReadString(iter, &r->type) ||
!m->ReadBool(iter, &r->starred))
@@ -136,10 +136,10 @@
// there are no IPC errors.
// Gets the text visible in the omnibox.
- bool GetText(std::wstring* text) const;
+ bool GetText(string16* text) const;
// Sets the text visible in the omnibox.
- bool SetText(const std::wstring& text);
+ bool SetText(const string16& text);
// Determines if a query to an autocomplete provider is still in progress.
// NOTE: No autocomplete queries will be made if the omnibox doesn't have
Property changes on: chrome/test/automation/autocomplete_edit_proxy.h
___________________________________________________________________
Deleted: svn:mergeinfo

Powered by Google App Engine
This is Rietveld 408576698