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

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

Issue 5526008: Simplify the magic required to create IPC message headers a bit. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years 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/utility_messages_internal.h ('k') | chrome/common/worker_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) 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
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_
OLDNEW
« no previous file with comments | « chrome/common/utility_messages_internal.h ('k') | chrome/common/worker_messages.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698