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

Side by Side Diff: chrome/common/render_messages.h

Issue 3258008: Revert 58044 - Revert 53686 - Merge 53350 - AutoFill: Record whether the user... (Closed) Base URL: svn://svn.chromium.org/chrome/branches/472/src/
Patch Set: Created 10 years, 3 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/autofill/form_structure_unittest.cc ('k') | chrome/renderer/form_manager.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_COMMON_RENDER_MESSAGES_H_ 5 #ifndef CHROME_COMMON_RENDER_MESSAGES_H_
6 #define CHROME_COMMON_RENDER_MESSAGES_H_ 6 #define CHROME_COMMON_RENDER_MESSAGES_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 1761 matching lines...) Expand 10 before | Expand all | Expand 10 after
1772 1772
1773 // Traits for FormData structure to pack/unpack. 1773 // Traits for FormData structure to pack/unpack.
1774 template <> 1774 template <>
1775 struct ParamTraits<webkit_glue::FormData> { 1775 struct ParamTraits<webkit_glue::FormData> {
1776 typedef webkit_glue::FormData param_type; 1776 typedef webkit_glue::FormData param_type;
1777 static void Write(Message* m, const param_type& p) { 1777 static void Write(Message* m, const param_type& p) {
1778 WriteParam(m, p.name); 1778 WriteParam(m, p.name);
1779 WriteParam(m, p.method); 1779 WriteParam(m, p.method);
1780 WriteParam(m, p.origin); 1780 WriteParam(m, p.origin);
1781 WriteParam(m, p.action); 1781 WriteParam(m, p.action);
1782 WriteParam(m, p.user_submitted);
1782 WriteParam(m, p.fields); 1783 WriteParam(m, p.fields);
1783 } 1784 }
1784 static bool Read(const Message* m, void** iter, param_type* p) { 1785 static bool Read(const Message* m, void** iter, param_type* p) {
1785 return 1786 return
1786 ReadParam(m, iter, &p->name) && 1787 ReadParam(m, iter, &p->name) &&
1787 ReadParam(m, iter, &p->method) && 1788 ReadParam(m, iter, &p->method) &&
1788 ReadParam(m, iter, &p->origin) && 1789 ReadParam(m, iter, &p->origin) &&
1789 ReadParam(m, iter, &p->action) && 1790 ReadParam(m, iter, &p->action) &&
1791 ReadParam(m, iter, &p->user_submitted) &&
1790 ReadParam(m, iter, &p->fields); 1792 ReadParam(m, iter, &p->fields);
1791 } 1793 }
1792 static void Log(const param_type& p, std::wstring* l) { 1794 static void Log(const param_type& p, std::wstring* l) {
1793 l->append(L"<FormData>"); 1795 l->append(L"<FormData>");
1794 } 1796 }
1795 }; 1797 };
1796 1798
1797 // Traits for ViewMsg_Print_Params 1799 // Traits for ViewMsg_Print_Params
1798 template <> 1800 template <>
1799 struct ParamTraits<ViewMsg_Print_Params> { 1801 struct ParamTraits<ViewMsg_Print_Params> {
(...skipping 1396 matching lines...) Expand 10 before | Expand all | Expand 10 after
3196 l->append(L")"); 3198 l->append(L")");
3197 } 3199 }
3198 }; 3200 };
3199 3201
3200 } // namespace IPC 3202 } // namespace IPC
3201 3203
3202 #define MESSAGES_INTERNAL_FILE "chrome/common/render_messages_internal.h" 3204 #define MESSAGES_INTERNAL_FILE "chrome/common/render_messages_internal.h"
3203 #include "ipc/ipc_message_macros.h" 3205 #include "ipc/ipc_message_macros.h"
3204 3206
3205 #endif // CHROME_COMMON_RENDER_MESSAGES_H_ 3207 #endif // CHROME_COMMON_RENDER_MESSAGES_H_
OLDNEW
« no previous file with comments | « chrome/browser/autofill/form_structure_unittest.cc ('k') | chrome/renderer/form_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698