1 // Copyright 2020 The Chromium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #include "cast/streaming/mock_environment.h" 6 7 namespace openscreen { 8 namespace cast { 9 MockEnvironment(ClockNowFunctionPtr now_function,TaskRunner * task_runner)10MockEnvironment::MockEnvironment(ClockNowFunctionPtr now_function, 11 TaskRunner* task_runner) { 12 task_runner_ = task_runner; 13 now_function_ = now_function; 14 } 15 16 MockEnvironment::~MockEnvironment() = default; 17 18 } // namespace cast 19 } // namespace openscreen 20