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

Side by Side Diff: content/common/pepper_messages.cc

Issue 6672057: Move all the message files in chrome that belong in content. (Closed) Base URL: svn://chrome-svn/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"
6 #include "ppapi/c/private/ppb_flash_net_connector.h" 5 #include "ppapi/c/private/ppb_flash_net_connector.h"
7 6
8 #define IPC_MESSAGE_IMPL 7 #define IPC_MESSAGE_IMPL
9 #include "chrome/common/pepper_messages.h" 8 #include "content/common/pepper_messages.h"
10 9
11 namespace IPC { 10 namespace IPC {
12 11
13 void ParamTraits<PP_Flash_NetAddress>::Write(Message* m, const param_type& p) { 12 void ParamTraits<PP_Flash_NetAddress>::Write(Message* m, const param_type& p) {
14 WriteParam(m, p.size); 13 WriteParam(m, p.size);
15 m->WriteBytes(p.data, static_cast<int>(p.size)); 14 m->WriteBytes(p.data, static_cast<int>(p.size));
16 } 15 }
17 16
18 bool ParamTraits<PP_Flash_NetAddress>::Read(const Message* m, 17 bool ParamTraits<PP_Flash_NetAddress>::Read(const Message* m,
19 void** iter, 18 void** iter,
(...skipping 13 matching lines...) Expand all
33 } 32 }
34 33
35 void ParamTraits<PP_Flash_NetAddress>::Log(const param_type& p, 34 void ParamTraits<PP_Flash_NetAddress>::Log(const param_type& p,
36 std::string* l) { 35 std::string* l) {
37 l->append("<PP_Flash_NetAddress ("); 36 l->append("<PP_Flash_NetAddress (");
38 LogParam(p.size, l); 37 LogParam(p.size, l);
39 l->append(" bytes)>"); 38 l->append(" bytes)>");
40 } 39 }
41 40
42 } // namespace IPC 41 } // namespace IPC
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698