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

Side by Side Diff: ppapi/nacl_irt/manifest_service.cc

Issue 1548813002: Switch to standard integer types in ppapi/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixes Created 4 years, 12 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
« no previous file with comments | « ppapi/nacl_irt/irt_start.cc ('k') | ppapi/nacl_irt/ppapi_dispatcher.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "ppapi/nacl_irt/manifest_service.h" 5 #include "ppapi/nacl_irt/manifest_service.h"
6 6
7 #include <stdint.h>
8
9 #include "base/macros.h"
7 #include "base/single_thread_task_runner.h" 10 #include "base/single_thread_task_runner.h"
11 #include "build/build_config.h"
8 #include "ipc/ipc_channel_handle.h" 12 #include "ipc/ipc_channel_handle.h"
9 #include "ipc/ipc_channel_proxy.h" 13 #include "ipc/ipc_channel_proxy.h"
10 #include "ipc/ipc_sync_message_filter.h" 14 #include "ipc/ipc_sync_message_filter.h"
11 #include "native_client/src/trusted/service_runtime/include/sys/errno.h" 15 #include "native_client/src/trusted/service_runtime/include/sys/errno.h"
12 #include "ppapi/nacl_irt/irt_manifest.h" 16 #include "ppapi/nacl_irt/irt_manifest.h"
13 #include "ppapi/nacl_irt/plugin_startup.h" 17 #include "ppapi/nacl_irt/plugin_startup.h"
14 #include "ppapi/proxy/ppapi_messages.h" 18 #include "ppapi/proxy/ppapi_messages.h"
15 19
16 #if !defined(OS_NACL_SFI) 20 #if !defined(OS_NACL_SFI)
17 #include <pthread.h> 21 #include <pthread.h>
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 167
164 ManifestService* manifest_service = GetManifestService(); 168 ManifestService* manifest_service = GetManifestService();
165 if (manifest_service == NULL || 169 if (manifest_service == NULL ||
166 !manifest_service->OpenResource(file, fd)) { 170 !manifest_service->OpenResource(file, fd)) {
167 return NACL_ABI_EIO; 171 return NACL_ABI_EIO;
168 } 172 }
169 return (*fd == -1) ? NACL_ABI_ENOENT : 0; 173 return (*fd == -1) ? NACL_ABI_ENOENT : 0;
170 } 174 }
171 175
172 } // namespace ppapi 176 } // namespace ppapi
OLDNEW
« no previous file with comments | « ppapi/nacl_irt/irt_start.cc ('k') | ppapi/nacl_irt/ppapi_dispatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698