Bug: webrtc:10138 Change-Id: I7fc02967058d3c53da73e280a7a1533a0860ba4c Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/128403 Commit-Queue: Artem Titov <titovartem@webrtc.org> Reviewed-by: Ilya Nikolaevskiy <ilnik@webrtc.org> Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org> Reviewed-by: Peter Slatala <psla@webrtc.org> Reviewed-by: Karl Wiberg <kwiberg@webrtc.org> Cr-Commit-Position: refs/heads/master@{#27203}
25 lines
746 B
C++
25 lines
746 B
C++
/*
|
|
* Copyright (c) 2019 The WebRTC project authors. All Rights Reserved.
|
|
*
|
|
* Use of this source code is governed by a BSD-style license
|
|
* that can be found in the LICENSE file in the root of the source
|
|
* tree. An additional intellectual property rights grant can be found
|
|
* in the file PATENTS. All contributing project authors may
|
|
* be found in the AUTHORS file in the root of the source tree.
|
|
*/
|
|
|
|
#include "test/pc/e2e/analyzer/video/id_generator.h"
|
|
|
|
namespace webrtc {
|
|
namespace webrtc_pc_e2e {
|
|
|
|
IntIdGenerator::IntIdGenerator(int start_value) : next_id_(start_value) {}
|
|
IntIdGenerator::~IntIdGenerator() = default;
|
|
|
|
int IntIdGenerator::GetNextId() {
|
|
return next_id_++;
|
|
}
|
|
|
|
} // namespace webrtc_pc_e2e
|
|
} // namespace webrtc
|