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

Side by Side Diff: components/nacl/loader/nonsfi/nonsfi_listener.cc

Issue 1548113002: Switch to standard integer types in components/, part 2 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: gn Created 4 years, 11 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 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 "components/nacl/loader/nonsfi/nonsfi_listener.h" 5 #include "components/nacl/loader/nonsfi/nonsfi_listener.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/file_descriptor_posix.h" 8 #include "base/file_descriptor_posix.h"
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/rand_util.h" 10 #include "base/rand_util.h"
11 #include "build/build_config.h"
11 #include "components/nacl/common/nacl_messages.h" 12 #include "components/nacl/common/nacl_messages.h"
12 #include "components/nacl/common/nacl_types.h" 13 #include "components/nacl/common/nacl_types.h"
13 #include "components/nacl/loader/nacl_trusted_listener.h" 14 #include "components/nacl/loader/nacl_trusted_listener.h"
14 #include "components/nacl/loader/nonsfi/nonsfi_main.h" 15 #include "components/nacl/loader/nonsfi/nonsfi_main.h"
15 #include "ipc/ipc_channel.h" 16 #include "ipc/ipc_channel.h"
16 #include "ipc/ipc_channel_handle.h" 17 #include "ipc/ipc_channel_handle.h"
17 #include "ipc/ipc_switches.h" 18 #include "ipc/ipc_switches.h"
18 #include "ipc/ipc_sync_channel.h" 19 #include "ipc/ipc_sync_channel.h"
19 #include "native_client/src/public/nonsfi/irt_random.h" 20 #include "native_client/src/public/nonsfi/irt_random.h"
20 #include "ppapi/nacl_irt/irt_manifest.h" 21 #include "ppapi/nacl_irt/irt_manifest.h"
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 CHECK(params.nexe_file != IPC::InvalidPlatformFileForTransit()); 124 CHECK(params.nexe_file != IPC::InvalidPlatformFileForTransit());
124 CHECK(params.nexe_file_path_metadata.empty()); 125 CHECK(params.nexe_file_path_metadata.empty());
125 126
126 ppapi::RegisterPreopenedDescriptorsNonSfi(key_fd_map_.release()); 127 ppapi::RegisterPreopenedDescriptorsNonSfi(key_fd_map_.release());
127 128
128 MainStart(IPC::PlatformFileForTransitToPlatformFile(params.nexe_file)); 129 MainStart(IPC::PlatformFileForTransitToPlatformFile(params.nexe_file));
129 } 130 }
130 131
131 } // namespace nonsfi 132 } // namespace nonsfi
132 } // namespace nacl 133 } // namespace nacl
OLDNEW
« no previous file with comments | « components/nacl/loader/nacl_validation_query_unittest.cc ('k') | components/nacl/loader/nonsfi/nonsfi_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698