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

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

Issue 4261001: Moving Entry from base::file_util_proxy namespace to within class base::FileU... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 1 month 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 1297 matching lines...) Expand 10 before | Expand all | Expand 10 after
1308 1308
1309 template <> 1309 template <>
1310 struct ParamTraits<ViewHostMsg_DomMessage_Params> { 1310 struct ParamTraits<ViewHostMsg_DomMessage_Params> {
1311 typedef ViewHostMsg_DomMessage_Params param_type; 1311 typedef ViewHostMsg_DomMessage_Params param_type;
1312 static void Write(Message* m, const param_type& p); 1312 static void Write(Message* m, const param_type& p);
1313 static bool Read(const Message* m, void** iter, param_type* p); 1313 static bool Read(const Message* m, void** iter, param_type* p);
1314 static void Log(const param_type& p, std::string* l); 1314 static void Log(const param_type& p, std::string* l);
1315 }; 1315 };
1316 1316
1317 template <> 1317 template <>
1318 struct ParamTraits<base::file_util_proxy::Entry> { 1318 struct ParamTraits<base::FileUtilProxy::Entry> {
1319 typedef base::file_util_proxy::Entry param_type; 1319 typedef base::FileUtilProxy::Entry param_type;
1320 static void Write(Message* m, const param_type& p); 1320 static void Write(Message* m, const param_type& p);
1321 static bool Read(const Message* m, void** iter, param_type* p); 1321 static bool Read(const Message* m, void** iter, param_type* p);
1322 static void Log(const param_type& p, std::string* l); 1322 static void Log(const param_type& p, std::string* l);
1323 }; 1323 };
1324 1324
1325 template <> 1325 template <>
1326 struct ParamTraits<ViewHostMsg_AccessibilityNotification_Params> { 1326 struct ParamTraits<ViewHostMsg_AccessibilityNotification_Params> {
1327 typedef ViewHostMsg_AccessibilityNotification_Params param_type; 1327 typedef ViewHostMsg_AccessibilityNotification_Params param_type;
1328 static void Write(Message* m, const param_type& p); 1328 static void Write(Message* m, const param_type& p);
1329 static bool Read(const Message* m, void** iter, param_type* p); 1329 static bool Read(const Message* m, void** iter, param_type* p);
1330 static void Log(const param_type& p, std::string* l); 1330 static void Log(const param_type& p, std::string* l);
1331 }; 1331 };
1332 1332
1333 } // namespace IPC 1333 } // namespace IPC
1334 1334
1335 #endif // CHROME_COMMON_RENDER_MESSAGES_PARAMS_H_ 1335 #endif // CHROME_COMMON_RENDER_MESSAGES_PARAMS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698