text_cue.cc 623 B

1234567891011121314151617181920212223
  1. // Copyright 2013 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. #include "media/base/text_cue.h"
  5. namespace media {
  6. TextCue::TextCue(const base::TimeDelta& timestamp,
  7. const base::TimeDelta& duration,
  8. const std::string& id,
  9. const std::string& settings,
  10. const std::string& text)
  11. : timestamp_(timestamp),
  12. duration_(duration),
  13. id_(id),
  14. settings_(settings),
  15. text_(text) {
  16. }
  17. TextCue::~TextCue() = default;
  18. } // namespace media