OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 // Defines messages between the browser and worker process, as well as between | 5 // Defines messages between the browser and worker process, as well as between |
6 // the renderer and worker process. | 6 // the renderer and worker process. |
7 | 7 |
8 #ifndef CHROME_COMMON_WORKER_MESSAGES_H_ | 8 #ifndef CHROME_COMMON_WORKER_MESSAGES_H_ |
9 #define CHROME_COMMON_WORKER_MESSAGES_H_ | 9 #define CHROME_COMMON_WORKER_MESSAGES_H_ |
10 #pragma once | 10 #pragma once |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 template <> | 64 template <> |
65 struct ParamTraits<WorkerProcessMsg_CreateWorker_Params> { | 65 struct ParamTraits<WorkerProcessMsg_CreateWorker_Params> { |
66 typedef WorkerProcessMsg_CreateWorker_Params param_type; | 66 typedef WorkerProcessMsg_CreateWorker_Params param_type; |
67 static void Write(Message* m, const param_type& p); | 67 static void Write(Message* m, const param_type& p); |
68 static bool Read(const Message* m, void** iter, param_type* p); | 68 static bool Read(const Message* m, void** iter, param_type* p); |
69 static void Log(const param_type& p, std::string* l); | 69 static void Log(const param_type& p, std::string* l); |
70 }; | 70 }; |
71 | 71 |
72 } // namespace IPC | 72 } // namespace IPC |
73 | 73 |
74 #define MESSAGES_INTERNAL_FILE "chrome/common/worker_messages_internal.h" | 74 #include "chrome/common/worker_messages_internal.h" |
75 #include "ipc/ipc_message_macros.h" | |
76 | 75 |
77 #endif // CHROME_COMMON_WORKER_MESSAGES_H_ | 76 #endif // CHROME_COMMON_WORKER_MESSAGES_H_ |
OLD | NEW |