From d26cd52757991911c111279e900d732ba283dd05 Mon Sep 17 00:00:00 2001 From: "deanm@google.com" Date: Thu, 7 Aug 2008 13:40:16 +0000 Subject: Some cross platform changes and general cleanups to Pickle. - Clean up TrimWriteData, and remove the unneeded VariableLengthBuffer struct. Modify a test to slightly test TrimWriteData, but it probably deserves more. - Remove unneeded includes in pickle_unittest, including windows.h. - According to 3.5 of the C++ standard, CustomHeader could not be used as a template argument, because it had no linkage. This now builds on GCC. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@508 0039d316-1c4b-4281-b951-d872f2087c98 --- base/pickle.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'base/pickle.h') diff --git a/base/pickle.h b/base/pickle.h index 7c4a007..da2a485 100644 --- a/base/pickle.h +++ b/base/pickle.h @@ -239,12 +239,6 @@ class Pickle { static const int kPayloadUnit; private: - // A buffer of variable length; used internally - struct VariableLengthBuffer { - int length; - char data; // This is variable length. - }; - Header* header_; size_t header_size_; // Supports extra data between header and payload. // Allocation size of payload (or -1 if allocation is const). -- cgit v1.1