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