| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef BASE_PICKLE_H__ | 5 #ifndef BASE_PICKLE_H__ |
| 6 #define BASE_PICKLE_H__ | 6 #define BASE_PICKLE_H__ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| (...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 230 // Allocation size of payload (or -1 if allocation is const). | 230 // Allocation size of payload (or -1 if allocation is const). |
| 231 size_t capacity_; | 231 size_t capacity_; |
| 232 size_t variable_buffer_offset_; // IF non-zero, then offset to a buffer. | 232 size_t variable_buffer_offset_; // IF non-zero, then offset to a buffer. |
| 233 | 233 |
| 234 FRIEND_TEST(PickleTest, Resize); | 234 FRIEND_TEST(PickleTest, Resize); |
| 235 FRIEND_TEST(PickleTest, FindNext); | 235 FRIEND_TEST(PickleTest, FindNext); |
| 236 FRIEND_TEST(PickleTest, IteratorHasRoom); | 236 FRIEND_TEST(PickleTest, IteratorHasRoom); |
| 237 }; | 237 }; |
| 238 | 238 |
| 239 #endif // BASE_PICKLE_H__ | 239 #endif // BASE_PICKLE_H__ |
| 240 | |
| OLD | NEW |