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

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

Issue 1970833002: Fix include path for moved thread_task_runner_handle.h header in components/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@a1_move_task_runner_handle
Patch Set: merge up to r393009 Created 4 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_ipc_adapter.h" 5 #include "components/nacl/loader/nacl_ipc_adapter.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 #include <stdint.h> 8 #include <stdint.h>
9 #include <string.h> 9 #include <string.h>
10 10
11 #include <memory> 11 #include <memory>
12 12
13 #include "base/thread_task_runner_handle.h"
14 #include "base/threading/platform_thread.h" 13 #include "base/threading/platform_thread.h"
15 #include "base/threading/simple_thread.h" 14 #include "base/threading/simple_thread.h"
15 #include "base/threading/thread_task_runner_handle.h"
16 #include "ipc/ipc_test_sink.h" 16 #include "ipc/ipc_test_sink.h"
17 #include "native_client/src/public/nacl_desc_custom.h" 17 #include "native_client/src/public/nacl_desc_custom.h"
18 #include "native_client/src/trusted/service_runtime/include/sys/fcntl.h" 18 #include "native_client/src/trusted/service_runtime/include/sys/fcntl.h"
19 #include "ppapi/c/ppb_file_io.h" 19 #include "ppapi/c/ppb_file_io.h"
20 #include "testing/gtest/include/gtest/gtest.h" 20 #include "testing/gtest/include/gtest/gtest.h"
21 21
22 namespace { 22 namespace {
23 23
24 class NaClIPCAdapterTest : public testing::Test { 24 class NaClIPCAdapterTest : public testing::Test {
25 public: 25 public:
(...skipping 324 matching lines...) Expand 10 before | Expand all | Expand 10 after
350 EXPECT_EQ(NACL_ABI_O_RDONLY, 350 EXPECT_EQ(NACL_ABI_O_RDONLY,
351 TranslatePepperFileReadWriteOpenFlagsForTesting( 351 TranslatePepperFileReadWriteOpenFlagsForTesting(
352 PP_FILEOPENFLAG_CREATE)); 352 PP_FILEOPENFLAG_CREATE));
353 EXPECT_EQ(NACL_ABI_O_RDONLY, 353 EXPECT_EQ(NACL_ABI_O_RDONLY,
354 TranslatePepperFileReadWriteOpenFlagsForTesting( 354 TranslatePepperFileReadWriteOpenFlagsForTesting(
355 PP_FILEOPENFLAG_TRUNCATE)); 355 PP_FILEOPENFLAG_TRUNCATE));
356 EXPECT_EQ(NACL_ABI_O_RDONLY, 356 EXPECT_EQ(NACL_ABI_O_RDONLY,
357 TranslatePepperFileReadWriteOpenFlagsForTesting( 357 TranslatePepperFileReadWriteOpenFlagsForTesting(
358 PP_FILEOPENFLAG_EXCLUSIVE)); 358 PP_FILEOPENFLAG_EXCLUSIVE));
359 } 359 }
OLDNEW
« no previous file with comments | « components/nacl/browser/nacl_process_host.cc ('k') | components/nacl/renderer/ppb_nacl_private_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698