| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2004 The WebRTC Project Authors. All rights reserved. | 2 * Copyright 2004 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 |
| (...skipping 21 matching lines...) Expand all Loading... |
| 32 static const char kLibjingle[] = "libjingle"; | 32 static const char kLibjingle[] = "libjingle"; |
| 33 | 33 |
| 34 #include <time.h> | 34 #include <time.h> |
| 35 #include <limits.h> | 35 #include <limits.h> |
| 36 | 36 |
| 37 #include <algorithm> | 37 #include <algorithm> |
| 38 #include <iomanip> | 38 #include <iomanip> |
| 39 #include <ostream> | 39 #include <ostream> |
| 40 #include <vector> | 40 #include <vector> |
| 41 | 41 |
| 42 #include "webrtc/rtc_base/criticalsection.h" | 42 #include "webrtc/base/criticalsection.h" |
| 43 #include "webrtc/rtc_base/logging.h" | 43 #include "webrtc/base/logging.h" |
| 44 #include "webrtc/rtc_base/platform_thread.h" | 44 #include "webrtc/base/platform_thread.h" |
| 45 #include "webrtc/rtc_base/stringencode.h" | 45 #include "webrtc/base/stringencode.h" |
| 46 #include "webrtc/rtc_base/stringutils.h" | 46 #include "webrtc/base/stringutils.h" |
| 47 #include "webrtc/rtc_base/timeutils.h" | 47 #include "webrtc/base/timeutils.h" |
| 48 | 48 |
| 49 namespace rtc { | 49 namespace rtc { |
| 50 namespace { | 50 namespace { |
| 51 | 51 |
| 52 // Return the filename portion of the string (that following the last slash). | 52 // Return the filename portion of the string (that following the last slash). |
| 53 const char* FilenameFromPath(const char* file) { | 53 const char* FilenameFromPath(const char* file) { |
| 54 const char* end1 = ::strrchr(file, '/'); | 54 const char* end1 = ::strrchr(file, '/'); |
| 55 const char* end2 = ::strrchr(file, '\\'); | 55 const char* end2 = ::strrchr(file, '\\'); |
| 56 if (!end1 && !end2) | 56 if (!end1 && !end2) |
| 57 return file; | 57 return file; |
| (...skipping 494 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 552 } | 552 } |
| 553 | 553 |
| 554 if (state) { | 554 if (state) { |
| 555 state->unprintable_count_[input] = consecutive_unprintable; | 555 state->unprintable_count_[input] = consecutive_unprintable; |
| 556 } | 556 } |
| 557 } | 557 } |
| 558 | 558 |
| 559 ////////////////////////////////////////////////////////////////////// | 559 ////////////////////////////////////////////////////////////////////// |
| 560 | 560 |
| 561 } // namespace rtc | 561 } // namespace rtc |
| OLD | NEW |