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

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

Issue 862403005: Mechanical rename of tracing includes for /content [2/3] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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
OLDNEW
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 "content/common/font_config_ipc_linux.h" 5 #include "content/common/font_config_ipc_linux.h"
6 6
7 #include <errno.h> 7 #include <errno.h>
8 #include <fcntl.h> 8 #include <fcntl.h>
9 #include <sys/mman.h> 9 #include <sys/mman.h>
10 #include <sys/socket.h> 10 #include <sys/socket.h>
11 #include <sys/stat.h> 11 #include <sys/stat.h>
12 #include <sys/uio.h> 12 #include <sys/uio.h>
13 #include <unistd.h> 13 #include <unistd.h>
14 14
15 #include "base/debug/trace_event.h"
16 #include "base/files/file_util.h" 15 #include "base/files/file_util.h"
17 #include "base/pickle.h" 16 #include "base/pickle.h"
18 #include "base/posix/unix_domain_socket_linux.h" 17 #include "base/posix/unix_domain_socket_linux.h"
18 #include "base/trace_event/trace_event.h"
19 #include "skia/ext/refptr.h" 19 #include "skia/ext/refptr.h"
20 #include "skia/ext/skia_utils_base.h" 20 #include "skia/ext/skia_utils_base.h"
21 #include "third_party/skia/include/core/SkData.h" 21 #include "third_party/skia/include/core/SkData.h"
22 #include "third_party/skia/include/core/SkStream.h" 22 #include "third_party/skia/include/core/SkStream.h"
23 #include "third_party/skia/include/core/SkTypeface.h" 23 #include "third_party/skia/include/core/SkTypeface.h"
24 24
25 namespace content { 25 namespace content {
26 26
27 // Return a stream from the file descriptor, or NULL on failure. 27 // Return a stream from the file descriptor, or NULL on failure.
28 SkStreamAsset* StreamFromFD(int fd) { 28 SkStreamAsset* StreamFromFD(int fd) {
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 return NULL; 119 return NULL;
120 } 120 }
121 121
122 SkStreamAsset* stream = StreamFromFD(result_fd); 122 SkStreamAsset* stream = StreamFromFD(result_fd);
123 CloseFD(result_fd); 123 CloseFD(result_fd);
124 return stream; 124 return stream;
125 } 125 }
126 126
127 } // namespace content 127 } // namespace content
128 128
OLDNEW
« no previous file with comments | « content/common/child_process_sandbox_support_impl_linux.cc ('k') | content/common/gpu/client/command_buffer_proxy_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698