Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(197)

Side by Side Diff: webrtc/base/logging.cc

Issue 1920043002: Replace scoped_ptr with unique_ptr in webrtc/base/ (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Rebased Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « webrtc/base/linux.h ('k') | webrtc/base/logsinks.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 24 matching lines...) Expand all
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/base/criticalsection.h" 42 #include "webrtc/base/criticalsection.h"
43 #include "webrtc/base/logging.h" 43 #include "webrtc/base/logging.h"
44 #include "webrtc/base/platform_thread.h" 44 #include "webrtc/base/platform_thread.h"
45 #include "webrtc/base/scoped_ptr.h"
46 #include "webrtc/base/stringencode.h" 45 #include "webrtc/base/stringencode.h"
47 #include "webrtc/base/stringutils.h" 46 #include "webrtc/base/stringutils.h"
48 #include "webrtc/base/timeutils.h" 47 #include "webrtc/base/timeutils.h"
49 48
50 namespace rtc { 49 namespace rtc {
51 namespace { 50 namespace {
52 51
53 // 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).
54 const char* FilenameFromPath(const char* file) { 53 const char* FilenameFromPath(const char* file) {
55 const char* end1 = ::strrchr(file, '/'); 54 const char* end1 = ::strrchr(file, '/');
(...skipping 491 matching lines...) Expand 10 before | Expand all | Expand 10 after
547 } 546 }
548 547
549 if (state) { 548 if (state) {
550 state->unprintable_count_[input] = consecutive_unprintable; 549 state->unprintable_count_[input] = consecutive_unprintable;
551 } 550 }
552 } 551 }
553 552
554 ////////////////////////////////////////////////////////////////////// 553 //////////////////////////////////////////////////////////////////////
555 554
556 } // namespace rtc 555 } // namespace rtc
OLDNEW
« no previous file with comments | « webrtc/base/linux.h ('k') | webrtc/base/logsinks.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698