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

Side by Side Diff: chrome/common/pepper_file_messages.cc

Issue 6646005: Creates the ipclist utility that chrome security team has wanted to dump... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 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
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #include "chrome/common/common_param_traits.h" 5 #include "chrome/common/common_param_traits.h"
6
7 #define IPC_MESSAGE_IMPL
8 #include "chrome/common/pepper_file_messages.h" 6 #include "chrome/common/pepper_file_messages.h"
9 7
10 namespace IPC { 8 namespace IPC {
11 9
12 void ParamTraits<webkit::ppapi::DirEntry>::Write(Message* m, 10 void ParamTraits<webkit::ppapi::DirEntry>::Write(Message* m,
13 const param_type& p) { 11 const param_type& p) {
14 WriteParam(m, p.name); 12 WriteParam(m, p.name);
15 WriteParam(m, p.is_dir); 13 WriteParam(m, p.is_dir);
16 } 14 }
17 15
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 void ParamTraits<webkit::ppapi::PepperFilePath>::Log(const param_type& p, 53 void ParamTraits<webkit::ppapi::PepperFilePath>::Log(const param_type& p,
56 std::string* l) { 54 std::string* l) {
57 l->append("("); 55 l->append("(");
58 LogParam(static_cast<unsigned>(p.domain()), l); 56 LogParam(static_cast<unsigned>(p.domain()), l);
59 l->append(", "); 57 l->append(", ");
60 LogParam(p.path(), l); 58 LogParam(p.path(), l);
61 l->append(")"); 59 l->append(")");
62 } 60 }
63 61
64 } // namespace IPC 62 } // namespace IPC
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698