diff options
author | klink@google.com <klink@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-08-22 23:24:54 +0000 |
---|---|---|
committer | klink@google.com <klink@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-08-22 23:24:54 +0000 |
commit | 43beaef40b42c3afb4870043ab5720286e786ae4 (patch) | |
tree | 3abd0dd136552ad3055abfa2ca9a476463d8711c /base/pickle.h | |
parent | 77c40528d35beef9559b2e3412f04b472b995c4e (diff) | |
download | chromium_src-43beaef40b42c3afb4870043ab5720286e786ae4.zip chromium_src-43beaef40b42c3afb4870043ab5720286e786ae4.tar.gz chromium_src-43beaef40b42c3afb4870043ab5720286e786ae4.tar.bz2 |
Adds capabilities for IPC messages of type long, for the primary purpose of accessibility related communication.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1263 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/pickle.h')
-rw-r--r-- | base/pickle.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/base/pickle.h b/base/pickle.h index 422a1a30..3538e12 100644 --- a/base/pickle.h +++ b/base/pickle.h @@ -90,6 +90,7 @@ class Pickle { // be extracted. bool ReadBool(void** iter, bool* result) const; bool ReadInt(void** iter, int* result) const; + bool ReadLong(void** iter, long* result) const; bool ReadSize(void** iter, size_t* result) const; bool ReadInt64(void** iter, int64* result) const; bool ReadIntPtr(void** iter, intptr_t* result) const; @@ -112,6 +113,9 @@ class Pickle { bool WriteInt(int value) { return WriteBytes(&value, sizeof(value)); } + bool WriteLong(long value) { + return WriteBytes(&value, sizeof(value)); + } bool WriteSize(size_t value) { return WriteBytes(&value, sizeof(value)); } |