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

Side by Side Diff: webrtc/base/logsinks.h

Issue 1345433002: Add RTC_ prefix to contructormagic macros. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Formatting fix. Created 5 years, 3 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/logging.h ('k') | webrtc/base/macasyncsocket.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 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
(...skipping 30 matching lines...) Expand all
41 41
42 // Disables buffering on the underlying stream. 42 // Disables buffering on the underlying stream.
43 bool DisableBuffering(); 43 bool DisableBuffering();
44 44
45 protected: 45 protected:
46 explicit FileRotatingLogSink(FileRotatingStream* stream); 46 explicit FileRotatingLogSink(FileRotatingStream* stream);
47 47
48 private: 48 private:
49 scoped_ptr<FileRotatingStream> stream_; 49 scoped_ptr<FileRotatingStream> stream_;
50 50
51 DISALLOW_COPY_AND_ASSIGN(FileRotatingLogSink); 51 RTC_DISALLOW_COPY_AND_ASSIGN(FileRotatingLogSink);
52 }; 52 };
53 53
54 // Log sink that uses a CallSessionFileRotatingStream to write to disk. 54 // Log sink that uses a CallSessionFileRotatingStream to write to disk.
55 // Init() must be called before adding this sink. 55 // Init() must be called before adding this sink.
56 class CallSessionFileRotatingLogSink : public FileRotatingLogSink { 56 class CallSessionFileRotatingLogSink : public FileRotatingLogSink {
57 public: 57 public:
58 CallSessionFileRotatingLogSink(const std::string& log_dir_path, 58 CallSessionFileRotatingLogSink(const std::string& log_dir_path,
59 size_t max_total_log_size); 59 size_t max_total_log_size);
60 ~CallSessionFileRotatingLogSink() override; 60 ~CallSessionFileRotatingLogSink() override;
61 61
62 private: 62 private:
63 DISALLOW_COPY_AND_ASSIGN(CallSessionFileRotatingLogSink); 63 RTC_DISALLOW_COPY_AND_ASSIGN(CallSessionFileRotatingLogSink);
64 }; 64 };
65 65
66 } // namespace rtc 66 } // namespace rtc
67 67
68 #endif // WEBRTC_BASE_FILE_ROTATING_LOG_SINK_H_ 68 #endif // WEBRTC_BASE_FILE_ROTATING_LOG_SINK_H_
OLDNEW
« no previous file with comments | « webrtc/base/logging.h ('k') | webrtc/base/macasyncsocket.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698