| Index: webrtc/base/test/mock_ratetracker.h
 | 
| diff --git a/webrtc/base/test/mock_ratetracker.h b/webrtc/base/test/mock_ratetracker.h
 | 
| new file mode 100644
 | 
| index 0000000000000000000000000000000000000000..a0f48235c3f4df844b3126e210c67e7ec0a9f751
 | 
| --- /dev/null
 | 
| +++ b/webrtc/base/test/mock_ratetracker.h
 | 
| @@ -0,0 +1,35 @@
 | 
| +/*
 | 
| + *  Copyright (c) 2016 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.
 | 
| + */
 | 
| +
 | 
| +#ifndef WEBRTC_BASE_TEST_MOCK_RATETRACKER_H_
 | 
| +#define WEBRTC_BASE_TEST_MOCK_RATETRACKER_H_
 | 
| +
 | 
| +#include "webrtc/base/ratetracker.h"
 | 
| +
 | 
| +#include "webrtc/test/gmock.h"
 | 
| +
 | 
| +namespace rtc {
 | 
| +
 | 
| +class MockRateTracker : public RateTracker {
 | 
| + public:
 | 
| +  MockRateTracker() : RateTracker(1000, 1) {}
 | 
| +
 | 
| +  MOCK_CONST_METHOD1(ComputeRateForInterval,
 | 
| +                     double(int64_t interval_milliseconds));
 | 
| +  MOCK_CONST_METHOD0(ComputeRate, double());
 | 
| +  MOCK_CONST_METHOD0(ComputeTotalRate, double());
 | 
| +  MOCK_CONST_METHOD0(TotalSampleCount, size_t());
 | 
| +  MOCK_METHOD1(AddSamples, void(size_t sample_count));
 | 
| +  MOCK_CONST_METHOD0(Time, int64_t());
 | 
| +};
 | 
| +
 | 
| +}  // namespace rtc
 | 
| +
 | 
| +#endif  // WEBRTC_BASE_TEST_MOCK_RATETRACKER_H_
 | 
| 
 |