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

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

Issue 21039: Revert my change to get the tree green. Not sure why the tests became flaky.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 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
« no previous file with comments | « chrome/renderer/webplugin_delegate_proxy.cc ('k') | chrome/test/automation/automation_messages.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/automation/autocomplete_edit_proxy.h
===================================================================
--- chrome/test/automation/autocomplete_edit_proxy.h (revision 9131)
+++ chrome/test/automation/autocomplete_edit_proxy.h (working copy)
@@ -49,10 +49,12 @@
};
typedef std::vector<AutocompleteMatchData> Matches;
+namespace IPC {
+
template <>
struct ParamTraits<AutocompleteMatchData> {
typedef AutocompleteMatchData param_type;
- static void Write(IPC::Message* m, const param_type& p) {
+ static void Write(Message* m, const param_type& p) {
m->WriteString(p.provider_name);
m->WriteInt(p.relevance);
m->WriteBool(p.deletable);
@@ -66,7 +68,7 @@
m->WriteBool(p.starred);
}
- static bool Read(const IPC::Message* m, void** iter, param_type* r) {
+ static bool Read(const Message* m, void** iter, param_type* r) {
std::string destination_url;
if (!m->ReadString(iter, &r->provider_name) ||
!m->ReadInt(iter, &r->relevance) ||
@@ -110,6 +112,7 @@
l->append(L"]");
}
};
+} // namespace IPC
class AutocompleteEditProxy : public AutomationResourceProxy {
public:
« no previous file with comments | « chrome/renderer/webplugin_delegate_proxy.cc ('k') | chrome/test/automation/automation_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698