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

Side by Side Diff: webrtc/api/statstypes.h

Issue 2715103002: Replace NULL with nullptr or null in webrtc/api/. (Closed)
Patch Set: merge with master Created 3 years, 9 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/api/proxy.h ('k') | webrtc/api/statstypes.cc » ('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 2012 The WebRTC project authors. All Rights Reserved. 2 * Copyright 2012 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 397 matching lines...) Expand 10 before | Expand all | Expand 10 after
408 const_iterator begin() const; 408 const_iterator begin() const;
409 const_iterator end() const; 409 const_iterator end() const;
410 size_t size() const; 410 size_t size() const;
411 411
412 // Creates a new report object with |id| that does not already 412 // Creates a new report object with |id| that does not already
413 // exist in the list of reports. 413 // exist in the list of reports.
414 StatsReport* InsertNew(const StatsReport::Id& id); 414 StatsReport* InsertNew(const StatsReport::Id& id);
415 StatsReport* FindOrAddNew(const StatsReport::Id& id); 415 StatsReport* FindOrAddNew(const StatsReport::Id& id);
416 StatsReport* ReplaceOrAddNew(const StatsReport::Id& id); 416 StatsReport* ReplaceOrAddNew(const StatsReport::Id& id);
417 417
418 // Looks for a report with the given |id|. If one is not found, NULL 418 // Looks for a report with the given |id|. If one is not found, null
419 // will be returned. 419 // will be returned.
420 StatsReport* Find(const StatsReport::Id& id); 420 StatsReport* Find(const StatsReport::Id& id);
421 421
422 private: 422 private:
423 Container list_; 423 Container list_;
424 rtc::ThreadChecker thread_checker_; 424 rtc::ThreadChecker thread_checker_;
425 }; 425 };
426 426
427 } // namespace webrtc 427 } // namespace webrtc
428 428
429 #endif // WEBRTC_API_STATSTYPES_H_ 429 #endif // WEBRTC_API_STATSTYPES_H_
OLDNEW
« no previous file with comments | « webrtc/api/proxy.h ('k') | webrtc/api/statstypes.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698