diff options
author | apatrick@google.com <apatrick@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-12-04 18:08:45 +0000 |
---|---|---|
committer | apatrick@google.com <apatrick@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-12-04 18:08:45 +0000 |
commit | 168ae92e90cafe51d7b4d62ce202a8aba093b88c (patch) | |
tree | ae330b8e28cc47d1b8dc5824cf01604e31b15be0 /ipc/ipc_logging.cc | |
parent | 7fe2c0f6df1bf3bd495cf39f2cd7dcb515740455 (diff) | |
download | chromium_src-168ae92e90cafe51d7b4d62ce202a8aba093b88c.zip chromium_src-168ae92e90cafe51d7b4d62ce202a8aba093b88c.tar.gz chromium_src-168ae92e90cafe51d7b4d62ce202a8aba093b88c.tar.bz2 |
Added new IPC message class for CommandBuffer.
Increased IPC message header type from 16 bits to 32 bits so it can accomodate more message classes.
TEST=none
BUG=none
Review URL: http://codereview.chromium.org/399013
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33832 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ipc/ipc_logging.cc')
-rw-r--r-- | ipc/ipc_logging.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ipc/ipc_logging.cc b/ipc/ipc_logging.cc index b2ee6bd..ac96666 100644 --- a/ipc/ipc_logging.cc +++ b/ipc/ipc_logging.cc @@ -157,13 +157,13 @@ void Logging::OnPostDispatchMessage(const Message& message, } } -void Logging::GetMessageText(uint16 type, std::wstring* name, +void Logging::GetMessageText(uint32 type, std::wstring* name, const Message* message, std::wstring* params) { if (!log_function_mapping_) return; - int message_class = type >> 12; + int message_class = type >> 16; if (log_function_mapping_[message_class] != NULL) { log_function_mapping_[message_class](type, name, message, params); } else { |