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

Side by Side Diff: components/nacl/loader/nonsfi/nonsfi_main.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, 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
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_main.h" 5 #include "components/nacl/loader/nonsfi/nonsfi_main.h"
6 6
7 #include <stddef.h>
8
7 #include "base/logging.h" 9 #include "base/logging.h"
8 #include "base/threading/platform_thread.h" 10 #include "base/threading/platform_thread.h"
9 #include "base/threading/thread_restrictions.h" 11 #include "base/threading/thread_restrictions.h"
12 #include "build/build_config.h"
10 #include "native_client/src/include/elf_auxv.h" 13 #include "native_client/src/include/elf_auxv.h"
11 #include "native_client/src/public/nonsfi/elf_loader.h" 14 #include "native_client/src/public/nonsfi/elf_loader.h"
12 #include "ppapi/nacl_irt/irt_interfaces.h" 15 #include "ppapi/nacl_irt/irt_interfaces.h"
13 16
14 #if !defined(OS_NACL_NONSFI) 17 #if !defined(OS_NACL_NONSFI)
15 #error "nonsfi_main.cc must be built for nacl_helper_nonsfi." 18 #error "nonsfi_main.cc must be built for nacl_helper_nonsfi."
16 #endif 19 #endif
17 20
18 namespace nacl { 21 namespace nacl {
19 namespace nonsfi { 22 namespace nonsfi {
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 reinterpret_cast<EntryPointType>(NaClLoadElfFile(nexe_file)); 66 reinterpret_cast<EntryPointType>(NaClLoadElfFile(nexe_file));
64 if (!base::PlatformThread::CreateNonJoinable( 67 if (!base::PlatformThread::CreateNonJoinable(
65 kStackSize, new PluginMainDelegate(entry_point))) { 68 kStackSize, new PluginMainDelegate(entry_point))) {
66 LOG(ERROR) << "LoadModuleRpc: Failed to create plugin main thread."; 69 LOG(ERROR) << "LoadModuleRpc: Failed to create plugin main thread.";
67 return; 70 return;
68 } 71 }
69 } 72 }
70 73
71 } // namespace nonsfi 74 } // namespace nonsfi
72 } // namespace nacl 75 } // namespace nacl
OLDNEW
« no previous file with comments | « components/nacl/loader/nonsfi/nonsfi_listener.cc ('k') | components/nacl/loader/nonsfi/nonsfi_sandbox.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698