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

Side by Side Diff: content/common/child_process_sandbox_support_impl_linux.cc

Issue 8788003: Update includes to new header locations (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years 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 #include "content/common/child_process_sandbox_support_impl_linux.h" 5 #include "content/common/child_process_sandbox_support_impl_linux.h"
6 6
7 #include <sys/stat.h> 7 #include <sys/stat.h>
8 8
9 #include "base/eintr_wrapper.h" 9 #include "base/eintr_wrapper.h"
10 #include "base/global_descriptors_posix.h" 10 #include "base/global_descriptors_posix.h"
11 #include "base/memory/scoped_ptr.h" 11 #include "base/memory/scoped_ptr.h"
12 #include "base/pickle.h" 12 #include "base/pickle.h"
13 #include "content/common/chrome_descriptors.h" 13 #include "content/common/chrome_descriptors.h"
14 #include "content/common/sandbox_methods_linux.h" 14 #include "content/common/sandbox_methods_linux.h"
15 #include "content/common/unix_domain_socket_posix.h" 15 #include "content/common/unix_domain_socket_posix.h"
16 #include "third_party/WebKit/Source/WebKit/chromium/public/linux/WebFontFamily.h " 16 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/linux/WebFon tFamily.h"
17 #include "third_party/WebKit/Source/WebKit/chromium/public/linux/WebFontRenderSt yle.h" 17 #include "third_party/WebKit/Source/WebKit/chromium/public/linux/WebFontRenderSt yle.h"
18 18
19 static int GetSandboxFD() { 19 static int GetSandboxFD() {
20 return kSandboxIPCChannel + base::GlobalDescriptors::kBaseDescriptor; 20 return kSandboxIPCChannel + base::GlobalDescriptors::kBaseDescriptor;
21 } 21 }
22 22
23 namespace content { 23 namespace content {
24 24
25 void GetFontFamilyForCharacters(const uint16_t* utf16, 25 void GetFontFamilyForCharacters(const uint16_t* utf16,
26 size_t num_utf16, 26 size_t num_utf16,
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 187
188 *output_length = length; 188 *output_length = length;
189 n = HANDLE_EINTR(pread(fd, output, length, offset)); 189 n = HANDLE_EINTR(pread(fd, output, length, offset));
190 if (n != static_cast<ssize_t>(length)) 190 if (n != static_cast<ssize_t>(length))
191 return false; 191 return false;
192 192
193 return true; 193 return true;
194 } 194 }
195 195
196 } // namespace content 196 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/in_process_webkit/indexed_db_dispatcher_host.cc ('k') | content/common/css_colors.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698