aboutsummaryrefslogtreecommitdiff
path: root/cast/streaming/mock_environment.cc
blob: 512b031e2436bbe7c018c5928f8462419e264099 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Copyright 2020 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "cast/streaming/mock_environment.h"

namespace openscreen {
namespace cast {

MockEnvironment::MockEnvironment(ClockNowFunctionPtr now_function,
                                 TaskRunner* task_runner) {
  task_runner_ = task_runner;
  now_function_ = now_function;
}

MockEnvironment::~MockEnvironment() = default;

}  // namespace cast
}  // namespace openscreen