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

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

Issue 6286038: Add initial code to do filename munging in the FileSystem.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 10 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
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_PARAMS_H_ 5 #ifndef CHROME_COMMON_RENDER_MESSAGES_PARAMS_H_
6 #define CHROME_COMMON_RENDER_MESSAGES_PARAMS_H_ 6 #define CHROME_COMMON_RENDER_MESSAGES_PARAMS_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 1123 matching lines...) Expand 10 before | Expand all | Expand 10 after
1134 1134
1135 template <> 1135 template <>
1136 struct ParamTraits<ViewHostMsg_DomMessage_Params> { 1136 struct ParamTraits<ViewHostMsg_DomMessage_Params> {
1137 typedef ViewHostMsg_DomMessage_Params param_type; 1137 typedef ViewHostMsg_DomMessage_Params param_type;
1138 static void Write(Message* m, const param_type& p); 1138 static void Write(Message* m, const param_type& p);
1139 static bool Read(const Message* m, void** iter, param_type* p); 1139 static bool Read(const Message* m, void** iter, param_type* p);
1140 static void Log(const param_type& p, std::string* l); 1140 static void Log(const param_type& p, std::string* l);
1141 }; 1141 };
1142 1142
1143 template <> 1143 template <>
1144 struct ParamTraits<base::FileUtilProxy::Entry> { 1144 struct ParamTraits<base::FileUtilProxyBase::Entry> {
1145 typedef base::FileUtilProxy::Entry param_type; 1145 typedef base::FileUtilProxyBase::Entry param_type;
1146 static void Write(Message* m, const param_type& p); 1146 static void Write(Message* m, const param_type& p);
1147 static bool Read(const Message* m, void** iter, param_type* p); 1147 static bool Read(const Message* m, void** iter, param_type* p);
1148 static void Log(const param_type& p, std::string* l); 1148 static void Log(const param_type& p, std::string* l);
1149 }; 1149 };
1150 1150
1151 template <> 1151 template <>
1152 struct ParamTraits<ViewHostMsg_AccessibilityNotification_Params> { 1152 struct ParamTraits<ViewHostMsg_AccessibilityNotification_Params> {
1153 typedef ViewHostMsg_AccessibilityNotification_Params param_type; 1153 typedef ViewHostMsg_AccessibilityNotification_Params param_type;
1154 static void Write(Message* m, const param_type& p); 1154 static void Write(Message* m, const param_type& p);
1155 static bool Read(const Message* m, void** iter, param_type* p); 1155 static bool Read(const Message* m, void** iter, param_type* p);
1156 static void Log(const param_type& p, std::string* l); 1156 static void Log(const param_type& p, std::string* l);
1157 }; 1157 };
1158 1158
1159 } // namespace IPC 1159 } // namespace IPC
1160 1160
1161 #endif // CHROME_COMMON_RENDER_MESSAGES_PARAMS_H_ 1161 #endif // CHROME_COMMON_RENDER_MESSAGES_PARAMS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698