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 // Macros specific to the RLZ library. | 5 // Macros specific to the RLZ library. |
6 | 6 |
7 #ifndef RLZ_LIB_ASSERT_H_ | 7 #ifndef RLZ_LIB_ASSERT_H_ |
8 #define RLZ_LIB_ASSERT_H_ | 8 #define RLZ_LIB_ASSERT_H_ |
9 | 9 |
10 #include <string> | 10 #include <string> |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 | 44 |
45 inline void SetExpectedAssertion(const char* s) { | 45 inline void SetExpectedAssertion(const char* s) { |
46 #ifdef MUTE_EXPECTED_ASSERTS | 46 #ifdef MUTE_EXPECTED_ASSERTS |
47 expected_assertion_ = s; | 47 expected_assertion_ = s; |
48 #endif | 48 #endif |
49 } | 49 } |
50 | 50 |
51 } // rlz_lib | 51 } // rlz_lib |
52 | 52 |
53 #endif // RLZ_LIB_ASSERT_H_ | 53 #endif // RLZ_LIB_ASSERT_H_ |
OLD | NEW |