
The requirement was to get rid of the ToMediaBuffer() function from DecoderBufferBase. Created a subclass of ::media::DecoderBuffer that wraps the data of DecoderBufferBase. Merge-With: eureka-internal/371205 Bug: b/149771309 Change-Id: Idde0f6519e5122964f5eb33f6a44407e595898e7 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2085600 Commit-Queue: Qingwen Pi <qwp@google.com> Reviewed-by: Kenneth MacKay <kmackay@chromium.org> Reviewed-by: Dale Curtis <dalecurtis@chromium.org> Reviewed-by: Yuchen Liu <yucliu@chromium.org> Cr-Commit-Position: refs/heads/master@{#749947}
Cast base
cast_features
This file contains tools for checking the feature state of all of the features which affect Cast products. Cast features build upon the Chrome feature system. Some aspects of Cast require the feature system to work differently, however, so some additional logic has been layered on top. Details are available in comments of the header file. The basics are:
- If you are adding a new feature, add it to
cast_features.cc
so it lives alongside existing features - Add your new feature to the list of
kFeatures
incast_features.cc
const base::Feature kMyFeature{"my_feature", base::FEATURE_DISABLED_BY_DEFAULT};
const base::Feature* kFeatures[] = {
// ..other features
&kMyFeature
}