diff options
author | tsepez@chromium.org <tsepez@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-17 18:20:52 +0000 |
---|---|---|
committer | tsepez@chromium.org <tsepez@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-17 18:20:52 +0000 |
commit | e503a12601fee9e142e37a630f3db9b758499c82 (patch) | |
tree | 7aa599b0890395b715ff2ab292dde9a2f0b10db6 /content | |
parent | 5e3ebf12585ed50e2955d21a6276669f5e3a0e4e (diff) | |
download | chromium_src-e503a12601fee9e142e37a630f3db9b758499c82.zip chromium_src-e503a12601fee9e142e37a630f3db9b758499c82.tar.gz chromium_src-e503a12601fee9e142e37a630f3db9b758499c82.tar.bz2 |
Creates the ipclist utility that chrome security team has wanted to dump
the known IPC messages. Going forward, this should help identify new messages
between versions of chrome so that they may be given extra scrutiny for
potential badness.
under the common_message_generator.h umbrella.
Review URL: http://codereview.chromium.org/6646005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78564 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content')
-rw-r--r-- | content/common/resource_messages.h | 6 | ||||
-rw-r--r-- | content/common/socket_stream_messages.h | 4 | ||||
-rw-r--r-- | content/common/worker_messages.h | 6 |
3 files changed, 8 insertions, 8 deletions
diff --git a/content/common/resource_messages.h b/content/common/resource_messages.h index f46abe0..cb40e1f 100644 --- a/content/common/resource_messages.h +++ b/content/common/resource_messages.h @@ -3,17 +3,13 @@ // found in the LICENSE file. // IPC messages for resource loading. -// Multiply-included message file, hence no include guard. +// Multiply-included message file, hence no include guard. #include "base/shared_memory.h" #include "content/common/resource_response.h" #include "ipc/ipc_message_macros.h" #include "net/base/upload_data.h" -namespace net { -class UploadData; -} - #define IPC_MESSAGE_START ResourceMsgStart IPC_STRUCT_TRAITS_BEGIN(webkit_glue::ResourceResponseInfo) diff --git a/content/common/socket_stream_messages.h b/content/common/socket_stream_messages.h index 3da8983..50d5ce8 100644 --- a/content/common/socket_stream_messages.h +++ b/content/common/socket_stream_messages.h @@ -3,14 +3,12 @@ // found in the LICENSE file. // Multiply-included message file, hence no include guard. - #include <vector> +#include "googleurl/src/gurl.h" #include "ipc/ipc_message_macros.h" #include "ipc/ipc_param_traits.h" -class GURL; - #define IPC_MESSAGE_START SocketStreamMsgStart // Web Sockets messages sent from the renderer to the browser. diff --git a/content/common/worker_messages.h b/content/common/worker_messages.h index 042b236..3b1e79f 100644 --- a/content/common/worker_messages.h +++ b/content/common/worker_messages.h @@ -17,8 +17,14 @@ #include "ipc/ipc_message_macros.h" #include "ipc/ipc_message_utils.h" +// Singly-included section, not converted. +#ifndef CONTENT_COMMON_WORKER_MESSAGES_H_ +#define CONTENT_COMMON_WORKER_MESSAGES_H_ + typedef std::pair<string16, std::vector<int> > QueuedMessage; +#endif // CONTENT_COMMON_WORKER_MESSAGES_H_ + #define IPC_MESSAGE_START WorkerMsgStart // Parameters structure for WorkerHostMsg_PostConsoleMessageToWorkerObject, |