OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/base_export.h" | 10 #include "base/base_export.h" |
11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
12 #include "base/compiler_specific.h" | 12 #include "base/compiler_specific.h" |
13 #include "base/gtest_prod_util.h" | 13 #include "base/gtest_prod_util.h" |
14 #include "base/logging.h" | 14 #include "base/logging.h" |
15 #include "base/strings/string16.h" | 15 #include "base/strings/string16.h" |
16 #include "base/strings/string_piece.h" | 16 #include "base/strings/string_piece.h" |
(...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
297 return true; | 297 return true; |
298 } | 298 } |
299 inline void WriteBytesCommon(const void* data, size_t length); | 299 inline void WriteBytesCommon(const void* data, size_t length); |
300 | 300 |
301 FRIEND_TEST_ALL_PREFIXES(PickleTest, Resize); | 301 FRIEND_TEST_ALL_PREFIXES(PickleTest, Resize); |
302 FRIEND_TEST_ALL_PREFIXES(PickleTest, FindNext); | 302 FRIEND_TEST_ALL_PREFIXES(PickleTest, FindNext); |
303 FRIEND_TEST_ALL_PREFIXES(PickleTest, FindNextWithIncompleteHeader); | 303 FRIEND_TEST_ALL_PREFIXES(PickleTest, FindNextWithIncompleteHeader); |
304 FRIEND_TEST_ALL_PREFIXES(PickleTest, FindNextOverflow); | 304 FRIEND_TEST_ALL_PREFIXES(PickleTest, FindNextOverflow); |
305 }; | 305 }; |
306 | 306 |
307 #endif // BASE_PICKLE_H__ | 307 #endif // BASE_PICKLE_H_ |
OLD | NEW |