OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 #ifndef MOJO_EDK_SYSTEM_MESSAGE_IN_TRANSIT_TEST_UTILS_H_ | 5 #ifndef MOJO_EDK_SYSTEM_MESSAGE_IN_TRANSIT_TEST_UTILS_H_ |
6 #define MOJO_EDK_SYSTEM_MESSAGE_IN_TRANSIT_TEST_UTILS_H_ | 6 #define MOJO_EDK_SYSTEM_MESSAGE_IN_TRANSIT_TEST_UTILS_H_ |
7 | 7 |
8 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
9 #include "mojo/edk/system/message_in_transit.h" | 9 #include "mojo/edk/system/message_in_transit.h" |
10 | 10 |
(...skipping 15 matching lines...) Expand all Loading... |
26 // Checks if |message| looks like a test message created using | 26 // Checks if |message| looks like a test message created using |
27 // |MakeTestMessage()|, in which case it returns true and sets |*id|. (Otherwise | 27 // |MakeTestMessage()|, in which case it returns true and sets |*id|. (Otherwise |
28 // it returns false and leaves |*id| alone.) | 28 // it returns false and leaves |*id| alone.) |
29 bool IsTestMessage(MessageInTransit* message, unsigned* id); | 29 bool IsTestMessage(MessageInTransit* message, unsigned* id); |
30 | 30 |
31 } // namespace test | 31 } // namespace test |
32 } // namespace system | 32 } // namespace system |
33 } // namespace mojo | 33 } // namespace mojo |
34 | 34 |
35 #endif // MOJO_EDK_SYSTEM_MESSAGE_IN_TRANSIT_TEST_UTILS_H_ | 35 #endif // MOJO_EDK_SYSTEM_MESSAGE_IN_TRANSIT_TEST_UTILS_H_ |
OLD | NEW |