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 #include "base/basictypes.h" | 5 #include "base/basictypes.h" |
6 | 6 |
7 namespace ui { | 7 namespace ui { |
8 | 8 |
9 extern const char kSamplePakContents[] = { | 9 extern const char kSamplePakContents[] = { |
10 0x04, 0x00, 0x00, 0x00, // header(version | 10 0x04, 0x00, 0x00, 0x00, // header(version |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 0x04, 0x00, 0x15, 0x00, 0x00, 0x00, // index entry 4 | 44 0x04, 0x00, 0x15, 0x00, 0x00, 0x00, // index entry 4 |
45 0x00, 0x00, 0x24, 0x00, 0x00, 0x00, // extra entry for the size of last | 45 0x00, 0x00, 0x24, 0x00, 0x00, 0x00, // extra entry for the size of last |
46 't', 'h', 'i', 's', ' ', 'i', 's', ' ', 'i', 'd', ' ', '4', ' ', '2', 'x' | 46 't', 'h', 'i', 's', ' ', 'i', 's', ' ', 'i', 'd', ' ', '4', ' ', '2', 'x' |
47 }; | 47 }; |
48 | 48 |
49 extern const size_t kSamplePakSize2x = sizeof(kSamplePakContents2x); | 49 extern const size_t kSamplePakSize2x = sizeof(kSamplePakContents2x); |
50 | 50 |
51 extern const char kEmptyPakContents[] = { | 51 extern const char kEmptyPakContents[] = { |
52 0x04, 0x00, 0x00, 0x00, // header(version | 52 0x04, 0x00, 0x00, 0x00, // header(version |
53 0x00, 0x00, 0x00, 0x00, // no. entries | 53 0x00, 0x00, 0x00, 0x00, // no. entries |
54 0x01 | 54 0x01, // encoding) |
| 55 0x00, 0x00, 0x0f, 0x00, 0x00, 0x00 // extra entry for the size of last |
55 }; | 56 }; |
56 | 57 |
57 extern const size_t kEmptyPakSize = sizeof(kEmptyPakContents); | 58 extern const size_t kEmptyPakSize = sizeof(kEmptyPakContents); |
58 | 59 |
59 } // namespace ui | 60 } // namespace ui |
OLD | NEW |