OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 <stddef.h> |
5 #include <stdint.h> | 6 #include <stdint.h> |
6 | 7 |
7 #include "sandbox/win/src/crosscall_client.h" | 8 #include "sandbox/win/src/crosscall_client.h" |
8 #include "sandbox/win/src/crosscall_server.h" | 9 #include "sandbox/win/src/crosscall_server.h" |
9 #include "sandbox/win/src/sharedmem_ipc_client.h" | 10 #include "sandbox/win/src/sharedmem_ipc_client.h" |
10 #include "sandbox/win/src/sharedmem_ipc_server.h" | 11 #include "sandbox/win/src/sharedmem_ipc_server.h" |
11 #include "testing/gtest/include/gtest/gtest.h" | 12 #include "testing/gtest/include/gtest/gtest.h" |
12 | 13 |
13 namespace sandbox { | 14 namespace sandbox { |
14 | 15 |
(...skipping 607 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
622 &call_return)); | 623 &call_return)); |
623 EXPECT_EQ(SBOX_ALL_OK, call_return.call_outcome); | 624 EXPECT_EQ(SBOX_ALL_OK, call_return.call_outcome); |
624 EXPECT_TRUE(bar == call_return.extended[0].handle); | 625 EXPECT_TRUE(bar == call_return.extended[0].handle); |
625 EXPECT_EQ(foo, call_return.extended[1].unsigned_int); | 626 EXPECT_EQ(foo, call_return.extended[1].unsigned_int); |
626 | 627 |
627 CloseChannelEvents(client_control); | 628 CloseChannelEvents(client_control); |
628 delete[] reinterpret_cast<char*>(client_control); | 629 delete[] reinterpret_cast<char*>(client_control); |
629 } | 630 } |
630 | 631 |
631 } // namespace sandbox | 632 } // namespace sandbox |
OLD | NEW |