Delete historical data usage from store when user clears data usage.
[chromium-blink-merge.git] / ppapi / shared_impl / media_stream_video_track_shared.h
blob75e32b8ed4014db241062662788a7a15730f4e40
1 // Copyright 2014 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 PPAPI_SHARED_IMPL_MEDIA_STREAM_VIDEO_TRACK_SHARED_H_
6 #define PPAPI_SHARED_IMPL_MEDIA_STREAM_VIDEO_TRACK_SHARED_H_
8 #include "ppapi/c/ppb_video_frame.h"
9 #include "ppapi/shared_impl/ppapi_shared_export.h"
11 namespace ppapi {
13 class PPAPI_SHARED_EXPORT MediaStreamVideoTrackShared {
14 public:
15 struct Attributes {
16 Attributes()
17 : buffers(0),
18 width(0),
19 height(0),
20 format(PP_VIDEOFRAME_FORMAT_UNKNOWN) {}
21 int32_t buffers;
22 int32_t width;
23 int32_t height;
24 PP_VideoFrame_Format format;
27 static bool VerifyAttributes(const Attributes& attributes);
30 } // namespace ppapi
32 #endif // PPAPI_SHARED_IMPL_MEDIA_STREAM_VIDEO_TRACK_SHARED_H_