OLD | NEW |
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 622 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
633 template <> | 633 template <> |
634 struct ParamTraits<speech_input::SpeechInputResultItem> { | 634 struct ParamTraits<speech_input::SpeechInputResultItem> { |
635 typedef speech_input::SpeechInputResultItem param_type; | 635 typedef speech_input::SpeechInputResultItem param_type; |
636 static void Write(Message* m, const param_type& p); | 636 static void Write(Message* m, const param_type& p); |
637 static bool Read(const Message* m, void** iter, param_type* p); | 637 static bool Read(const Message* m, void** iter, param_type* p); |
638 static void Log(const param_type& p, std::string* l); | 638 static void Log(const param_type& p, std::string* l); |
639 }; | 639 }; |
640 | 640 |
641 } // namespace IPC | 641 } // namespace IPC |
642 | 642 |
643 #define MESSAGES_INTERNAL_FILE "chrome/common/render_messages_internal.h" | 643 #include "chrome/common/render_messages_internal.h" |
644 #include "ipc/ipc_message_macros.h" | |
645 | 644 |
646 #endif // CHROME_COMMON_RENDER_MESSAGES_H_ | 645 #endif // CHROME_COMMON_RENDER_MESSAGES_H_ |
OLD | NEW |