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

Side by Side Diff: components/nacl/loader/nacl_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, 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/nacl_listener.h" 5 #include "components/nacl/loader/nacl_listener.h"
6 6
7 #include <errno.h> 7 #include <errno.h>
8 #include <fcntl.h> 8 #include <fcntl.h>
9 #include <stdlib.h> 9 #include <stdlib.h>
10 #include <string.h> 10 #include <string.h>
11 11
12 #if defined(OS_POSIX) 12 #if defined(OS_POSIX)
13 #include <unistd.h> 13 #include <unistd.h>
14 #endif 14 #endif
15 15
16 #include "base/command_line.h" 16 #include "base/command_line.h"
17 #include "base/logging.h" 17 #include "base/logging.h"
18 #include "base/memory/scoped_ptr.h" 18 #include "base/memory/scoped_ptr.h"
19 #include "base/rand_util.h" 19 #include "base/rand_util.h"
20 #include "base/single_thread_task_runner.h" 20 #include "base/single_thread_task_runner.h"
21 #include "build/build_config.h"
21 #include "components/nacl/common/nacl_messages.h" 22 #include "components/nacl/common/nacl_messages.h"
22 #include "components/nacl/common/nacl_renderer_messages.h" 23 #include "components/nacl/common/nacl_renderer_messages.h"
23 #include "components/nacl/common/nacl_switches.h" 24 #include "components/nacl/common/nacl_switches.h"
24 #include "components/nacl/loader/nacl_ipc_adapter.h" 25 #include "components/nacl/loader/nacl_ipc_adapter.h"
25 #include "components/nacl/loader/nacl_validation_db.h" 26 #include "components/nacl/loader/nacl_validation_db.h"
26 #include "components/nacl/loader/nacl_validation_query.h" 27 #include "components/nacl/loader/nacl_validation_query.h"
27 #include "ipc/attachment_broker_unprivileged.h" 28 #include "ipc/attachment_broker_unprivileged.h"
28 #include "ipc/ipc_channel_handle.h" 29 #include "ipc/ipc_channel_handle.h"
29 #include "ipc/ipc_switches.h" 30 #include "ipc/ipc_switches.h"
30 #include "ipc/ipc_sync_channel.h" 31 #include "ipc/ipc_sync_channel.h"
(...skipping 462 matching lines...) Expand 10 before | Expand all | Expand 10 after
493 } 494 }
494 495
495 void NaClListener::OnFileTokenResolved( 496 void NaClListener::OnFileTokenResolved(
496 uint64_t token_lo, 497 uint64_t token_lo,
497 uint64_t token_hi, 498 uint64_t token_hi,
498 IPC::PlatformFileForTransit ipc_fd, 499 IPC::PlatformFileForTransit ipc_fd,
499 base::FilePath file_path) { 500 base::FilePath file_path) {
500 resolved_cb_.Run(ipc_fd, file_path); 501 resolved_cb_.Run(ipc_fd, file_path);
501 resolved_cb_.Reset(); 502 resolved_cb_.Reset();
502 } 503 }
OLDNEW
« no previous file with comments | « components/nacl/loader/nacl_listener.h ('k') | components/nacl/loader/nacl_main_platform_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698