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

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

Issue 40226: Fix files with lines > 80 cols. Part 2. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 11 years, 9 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/common/pref_service.h ('k') | chrome/common/resource_bundle.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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 #include <map> 10 #include <map>
(...skipping 1319 matching lines...) Expand 10 before | Expand all | Expand 10 after
1330 template <> 1330 template <>
1331 struct ParamTraits<ResourceResponseHead> { 1331 struct ParamTraits<ResourceResponseHead> {
1332 typedef ResourceResponseHead param_type; 1332 typedef ResourceResponseHead param_type;
1333 static void Write(Message* m, const param_type& p) { 1333 static void Write(Message* m, const param_type& p) {
1334 ParamTraits<webkit_glue::ResourceLoaderBridge::ResponseInfo>::Write(m, p); 1334 ParamTraits<webkit_glue::ResourceLoaderBridge::ResponseInfo>::Write(m, p);
1335 WriteParam(m, p.status); 1335 WriteParam(m, p.status);
1336 WriteParam(m, p.filter_policy); 1336 WriteParam(m, p.filter_policy);
1337 } 1337 }
1338 static bool Read(const Message* m, void** iter, param_type* r) { 1338 static bool Read(const Message* m, void** iter, param_type* r) {
1339 return 1339 return
1340 ParamTraits<webkit_glue::ResourceLoaderBridge::ResponseInfo>::Read(m, iter , r) && 1340 ParamTraits<webkit_glue::ResourceLoaderBridge::ResponseInfo>::Read(m,
1341 iter,
1342 r) &&
1341 ReadParam(m, iter, &r->status) && 1343 ReadParam(m, iter, &r->status) &&
1342 ReadParam(m, iter, &r->filter_policy); 1344 ReadParam(m, iter, &r->filter_policy);
1343 } 1345 }
1344 static void Log(const param_type& p, std::wstring* l) { 1346 static void Log(const param_type& p, std::wstring* l) {
1345 // log more? 1347 // log more?
1346 ParamTraits<webkit_glue::ResourceLoaderBridge::ResponseInfo>::Log(p, l); 1348 ParamTraits<webkit_glue::ResourceLoaderBridge::ResponseInfo>::Log(p, l);
1347 } 1349 }
1348 }; 1350 };
1349 1351
1350 template <> 1352 template <>
(...skipping 396 matching lines...) Expand 10 before | Expand all | Expand 10 after
1747 }; 1749 };
1748 1750
1749 1751
1750 } // namespace IPC 1752 } // namespace IPC
1751 1753
1752 1754
1753 #define MESSAGES_INTERNAL_FILE "chrome/common/render_messages_internal.h" 1755 #define MESSAGES_INTERNAL_FILE "chrome/common/render_messages_internal.h"
1754 #include "chrome/common/ipc_message_macros.h" 1756 #include "chrome/common/ipc_message_macros.h"
1755 1757
1756 #endif // CHROME_COMMON_RENDER_MESSAGES_H_ 1758 #endif // CHROME_COMMON_RENDER_MESSAGES_H_
OLDNEW
« no previous file with comments | « chrome/common/pref_service.h ('k') | chrome/common/resource_bundle.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698