Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(41)

Side by Side Diff: content/public/common/child_process_sandbox_support_linux.h

Issue 10696166: Remove #pragma once from content (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 CONTENT_PULIC_COMMON_CHILD_PROCESS_SANDBOX_SUPPORT_LINUX_H_ 5 #ifndef CONTENT_PULIC_COMMON_CHILD_PROCESS_SANDBOX_SUPPORT_LINUX_H_
6 #define CONTENT_PULIC_COMMON_CHILD_PROCESS_SANDBOX_SUPPORT_LINUX_H_ 6 #define CONTENT_PULIC_COMMON_CHILD_PROCESS_SANDBOX_SUPPORT_LINUX_H_
7 #pragma once
8 7
9 #include <stdint.h> 8 #include <stdint.h>
10 #include <string> 9 #include <string>
11 10
12 #include "content/common/content_export.h" 11 #include "content/common/content_export.h"
13 12
14 namespace content { 13 namespace content {
15 14
16 // Returns a file descriptor for a shared memory segment. The 15 // Returns a file descriptor for a shared memory segment. The
17 // executable flag indicates that the caller intends to use mprotect 16 // executable flag indicates that the caller intends to use mprotect
(...skipping 19 matching lines...) Expand all
37 // which case output_length will be set to the required size in bytes. 36 // which case output_length will be set to the required size in bytes.
38 // output_length: size of output, if it's not 0. 37 // output_length: size of output, if it's not 0.
39 // 38 //
40 // returns: true on success. 39 // returns: true on success.
41 CONTENT_EXPORT bool GetFontTable(int fd, uint32_t table, uint8_t* output, 40 CONTENT_EXPORT bool GetFontTable(int fd, uint32_t table, uint8_t* output,
42 size_t* output_length); 41 size_t* output_length);
43 42
44 }; // namespace content 43 }; // namespace content
45 44
46 #endif // CONTENT_PULIC_COMMON_CHILD_PROCESS_SANDBOX_SUPPORT_LINUX_H_ 45 #endif // CONTENT_PULIC_COMMON_CHILD_PROCESS_SANDBOX_SUPPORT_LINUX_H_
OLDNEW
« no previous file with comments | « content/public/common/child_process_host_delegate.h ('k') | content/public/common/common_param_traits.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698