Shaka Packager SDK
clock.cc
1 // Copyright 2023 Google LLC. All rights reserved.
2 //
3 // Use of this source code is governed by a BSD-style
4 // license that can be found in the LICENSE file or at
5 // https://developers.google.com/open-source/licenses/bsd
6 
7 #include <packager/utils/clock.h>
8 
9 namespace shaka {
10 
11 Clock::time_point Clock::now() noexcept {
12  return std::chrono::system_clock::now();
13 }
14 
15 } // namespace shaka
All the methods that are virtual are virtual for mocking.
Definition: crypto_flags.cc:66