| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2015 The WebRTC Project Authors. All rights reserved. | 2 * Copyright 2015 The WebRTC Project Authors. All rights reserved. |
| 3 * | 3 * |
| 4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
| 5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
| 6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
| 7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
| 8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
| 9 */ | 9 */ |
| 10 | 10 |
| 11 #include <memory> | 11 #include <memory> |
| 12 #include <sstream> | 12 #include <sstream> |
| 13 #include <string> | 13 #include <string> |
| 14 #include <utility> | 14 #include <utility> |
| 15 #include <vector> | 15 #include <vector> |
| 16 | 16 |
| 17 #include "webrtc/base/gunit.h" | 17 #include "webrtc/rtc_base/gunit.h" |
| 18 #include "webrtc/base/optional.h" | 18 #include "webrtc/rtc_base/optional.h" |
| 19 | 19 |
| 20 namespace rtc { | 20 namespace rtc { |
| 21 | 21 |
| 22 namespace { | 22 namespace { |
| 23 | 23 |
| 24 struct MyUnprintableType { | 24 struct MyUnprintableType { |
| 25 int value; | 25 int value; |
| 26 }; | 26 }; |
| 27 | 27 |
| 28 struct MyPrintableType { | 28 struct MyPrintableType { |
| (...skipping 793 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 822 // for MyPrintableType never getting called. | 822 // for MyPrintableType never getting called. |
| 823 const MyPrintableType dont_warn{17}; | 823 const MyPrintableType dont_warn{17}; |
| 824 const MyOstreamPrintableType dont_warn2{18}; | 824 const MyOstreamPrintableType dont_warn2{18}; |
| 825 std::stringstream sstr; | 825 std::stringstream sstr; |
| 826 sstr << dont_warn; | 826 sstr << dont_warn; |
| 827 PrintTo(dont_warn, &sstr); | 827 PrintTo(dont_warn, &sstr); |
| 828 sstr << dont_warn2; | 828 sstr << dont_warn2; |
| 829 } | 829 } |
| 830 | 830 |
| 831 } // namespace rtc | 831 } // namespace rtc |
| OLD | NEW |