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

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

Issue 6388004: Move non-file-system Pepper IPC messages to chrome/common/pepper_messages.*. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/chrome/renderer
Patch Set: Fix size_t-size-correctness. Created 9 years, 11 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/pepper_messages.cc ('k') | chrome/common/render_messages.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) 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_H_ 5 #ifndef CHROME_COMMON_RENDER_MESSAGES_H_
6 #define CHROME_COMMON_RENDER_MESSAGES_H_ 6 #define CHROME_COMMON_RENDER_MESSAGES_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 534 matching lines...) Expand 10 before | Expand all | Expand 10 after
545 545
546 // Traits for AudioBuffersState structure. 546 // Traits for AudioBuffersState structure.
547 template <> 547 template <>
548 struct ParamTraits<AudioBuffersState> { 548 struct ParamTraits<AudioBuffersState> {
549 typedef AudioBuffersState param_type; 549 typedef AudioBuffersState param_type;
550 static void Write(Message* m, const param_type& p); 550 static void Write(Message* m, const param_type& p);
551 static bool Read(const Message* m, void** iter, param_type* p); 551 static bool Read(const Message* m, void** iter, param_type* p);
552 static void Log(const param_type& p, std::string* l); 552 static void Log(const param_type& p, std::string* l);
553 }; 553 };
554 554
555 template <>
556 struct ParamTraits<PP_Flash_NetAddress> {
557 typedef PP_Flash_NetAddress param_type;
558 static void Write(Message* m, const param_type& p);
559 static bool Read(const Message* m, void** iter, param_type* p);
560 static void Log(const param_type& p, std::string* l);
561 };
562
563 } // namespace IPC 555 } // namespace IPC
564 556
565 #include "chrome/common/render_messages_internal.h" 557 #include "chrome/common/render_messages_internal.h"
566 558
567 #endif // CHROME_COMMON_RENDER_MESSAGES_H_ 559 #endif // CHROME_COMMON_RENDER_MESSAGES_H_
OLDNEW
« no previous file with comments | « chrome/common/pepper_messages.cc ('k') | chrome/common/render_messages.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698