diff options
author | philipj <philipj@opera.com> | 2015-08-12 01:30:01 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-08-12 08:30:39 +0000 |
commit | b3b3f8edfb23187e9eef8ed3e5e4d1c2b9b69dd3 (patch) | |
tree | ed445b24e84294c9d0e65f5ecdbf8f22bd1d4ce9 /ipc | |
parent | 9635664b09b45ddc1d48279d51c8b49a4d7c1a1e (diff) | |
download | chromium_src-b3b3f8edfb23187e9eef8ed3e5e4d1c2b9b69dd3.zip chromium_src-b3b3f8edfb23187e9eef8ed3e5e4d1c2b9b69dd3.tar.gz chromium_src-b3b3f8edfb23187e9eef8ed3e5e4d1c2b9b69dd3.tar.bz2 |
Fix a few typos in the IPC message macros documentation
BUG=none
R=tsepez@chromium.org
Review URL: https://codereview.chromium.org/1284593004
Cr-Commit-Position: refs/heads/master@{#342990}
Diffstat (limited to 'ipc')
-rw-r--r-- | ipc/ipc_message_macros.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/ipc/ipc_message_macros.h b/ipc/ipc_message_macros.h index 3f7574f..4938292 100644 --- a/ipc/ipc_message_macros.h +++ b/ipc/ipc_message_macros.h @@ -8,7 +8,7 @@ // header file. Most of the time, the system can automatically generate all // of messaging mechanism from these definitions, but sometimes some manual // coding is required. In these cases, you will also have an XXX_messages.cc -// implemation file as well. +// implementation file as well. // // The senders of your messages will include your XXX_messages.h file to // get the full set of definitions they need to send your messages. @@ -33,7 +33,7 @@ // in /chrome/common), but there are circumstances where you may add a // new one. // -// In the rare cicrucmstances where you can't re-use an existing file, +// In the rare circumstances where you can't re-use an existing file, // your YYY_message_generator.cc file for a component YYY would contain // the following code: // // Get basic type definitions. @@ -72,7 +72,7 @@ // The XXX_messages.h file will be multiply-included by the // YYY_message_generator.cc file, so your XXX_messages file can't be // guarded in the usual manner. Ideally, there will be no need for any -// inclusion guard, since the XXX_messages.h file should consist soley +// inclusion guard, since the XXX_messages.h file should consist solely // of inclusions of other headers (which are self-guarding) and IPC // macros (which are multiply evaluating). // @@ -87,7 +87,7 @@ // // It is generally a bad idea to have type definitions in a XXX_messages.h // file; most likely the typedef will then be used in the message, as opposed -// to the struct iself. Later, an IPC message dispatcher wil need to call +// to the struct itself. Later, an IPC message dispatcher will need to call // a function taking that type, and that function is declared in some other // header. Thus, in order to get the type definition, the other header // would have to include the XXX_messages.h file, violating the rule above @@ -105,7 +105,7 @@ // class type declaration to avoid pulling in a long chain of headers is // acceptable when your XXX_messages.h header is being included by the // message sending caller's code, but not when the YYY_message_generator.c -// is building the messages. In addtion, due to the multiple inclusion +// is building the messages. In addition, due to the multiple inclusion // restriction, these type ought to be guarded. Follow a convention like: // #ifndef SOME_GUARD_MACRO // #define SOME_GUARD_MACRO @@ -132,7 +132,7 @@ // IPC_STRUCT_MEMBER() is only permitted inside matching calls to // IPC_STRUCT_BEGIN() / IPC_STRUCT_END(). There is also an // IPC_STRUCT_BEGIN_WITH_PARENT(), which behaves like IPC_STRUCT_BEGIN(), -// but also accomodates structs that inherit from other structs. +// but also accommodates structs that inherit from other structs. // // Externally-defined structs are registered with IPC_STRUCT_TRAITS_BEGIN(), // IPC_STRUCT_TRAITS_MEMBER(), and IPC_STRUCT_TRAITS_END() macros. These |