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

Side by Side Diff: components/nacl/loader/nacl_listener.cc

Issue 2876013002: Add missing IWYU message_loop.h includes. (Closed)
Patch Set: fix upstream Created 3 years, 7 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 #include <memory> 12 #include <memory>
13 #include <utility> 13 #include <utility>
14 14
15 #if defined(OS_POSIX) 15 #if defined(OS_POSIX)
16 #include <unistd.h> 16 #include <unistd.h>
17 #endif 17 #endif
18 18
19 #include "base/command_line.h" 19 #include "base/command_line.h"
20 #include "base/logging.h" 20 #include "base/logging.h"
21 #include "base/memory/ptr_util.h" 21 #include "base/memory/ptr_util.h"
22 #include "base/message_loop/message_loop.h"
22 #include "base/rand_util.h" 23 #include "base/rand_util.h"
23 #include "base/run_loop.h" 24 #include "base/run_loop.h"
24 #include "base/single_thread_task_runner.h" 25 #include "base/single_thread_task_runner.h"
25 #include "base/threading/thread_task_runner_handle.h" 26 #include "base/threading/thread_task_runner_handle.h"
26 #include "build/build_config.h" 27 #include "build/build_config.h"
27 #include "components/nacl/common/nacl.mojom.h" 28 #include "components/nacl/common/nacl.mojom.h"
28 #include "components/nacl/common/nacl_messages.h" 29 #include "components/nacl/common/nacl_messages.h"
29 #include "components/nacl/common/nacl_service.h" 30 #include "components/nacl/common/nacl_service.h"
30 #include "components/nacl/common/nacl_switches.h" 31 #include "components/nacl/common/nacl_switches.h"
31 #include "components/nacl/loader/nacl_ipc_adapter.h" 32 #include "components/nacl/loader/nacl_ipc_adapter.h"
(...skipping 406 matching lines...) Expand 10 before | Expand all | Expand 10 after
438 } 439 }
439 440
440 void NaClListener::OnFileTokenResolved( 441 void NaClListener::OnFileTokenResolved(
441 uint64_t token_lo, 442 uint64_t token_lo,
442 uint64_t token_hi, 443 uint64_t token_hi,
443 IPC::PlatformFileForTransit ipc_fd, 444 IPC::PlatformFileForTransit ipc_fd,
444 base::FilePath file_path) { 445 base::FilePath file_path) {
445 resolved_cb_.Run(ipc_fd, file_path); 446 resolved_cb_.Run(ipc_fd, file_path);
446 resolved_cb_.Reset(); 447 resolved_cb_.Reset();
447 } 448 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698