OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 CHROME_RENDERER_RENDERER_SANDBOX_SUPPORT_LINUX_H_ | 5 #ifndef CONTENT_RENDERER_RENDERER_SANDBOX_SUPPORT_LINUX_H_ |
6 #define CHROME_RENDERER_RENDERER_SANDBOX_SUPPORT_LINUX_H_ | 6 #define CONTENT_RENDERER_RENDERER_SANDBOX_SUPPORT_LINUX_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
11 #include <string> | 11 #include <string> |
12 | 12 |
13 namespace WebKit { | 13 namespace WebKit { |
14 struct WebFontRenderStyle; | 14 struct WebFontRenderStyle; |
15 } | 15 } |
16 | 16 |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 // output: a buffer of size output_length that gets the data. can be 0, in | 49 // output: a buffer of size output_length that gets the data. can be 0, in |
50 // which case output_length will be set to the required size in bytes. | 50 // which case output_length will be set to the required size in bytes. |
51 // output_length: size of output, if it's not 0. | 51 // output_length: size of output, if it's not 0. |
52 // | 52 // |
53 // returns: true on success. | 53 // returns: true on success. |
54 bool GetFontTable(int fd, uint32_t table, uint8_t* output, | 54 bool GetFontTable(int fd, uint32_t table, uint8_t* output, |
55 size_t* output_length); | 55 size_t* output_length); |
56 | 56 |
57 }; // namespace render_sandbox_support | 57 }; // namespace render_sandbox_support |
58 | 58 |
59 #endif // CHROME_RENDERER_RENDERER_SANDBOX_SUPPORT_LINUX_H_ | 59 #endif // CONTENT_RENDERER_RENDERER_SANDBOX_SUPPORT_LINUX_H_ |
OLD | NEW |