ToolbarOriginChipView is dead; remove the suppression for it.
[chromium-blink-merge.git] / media / base / text_track.h
blob0e04a0eb46dab94db2290c73df6cf4b3f6293492
1 // Copyright (c) 2012 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.
5 #ifndef MEDIA_BASE_TEXT_TRACK_H_
6 #define MEDIA_BASE_TEXT_TRACK_H_
8 #include <string>
10 #include "base/callback.h"
11 #include "base/memory/scoped_ptr.h"
12 #include "base/time/time.h"
14 namespace media {
16 class TextTrackConfig;
18 class TextTrack {
19 public:
20 virtual ~TextTrack() {}
21 virtual void addWebVTTCue(const base::TimeDelta& start,
22 const base::TimeDelta& end,
23 const std::string& id,
24 const std::string& content,
25 const std::string& settings) = 0;
28 typedef base::Callback<void
29 (scoped_ptr<TextTrack>)> AddTextTrackDoneCB;
31 typedef base::Callback<void
32 (const TextTrackConfig& config,
33 const AddTextTrackDoneCB& done_cb)> AddTextTrackCB;
35 } // namespace media
37 #endif // MEDIA_BASE_TEXT_TRACK_H_