0
Files
src/chromecast
Joshua LeVasseur aa40bd76ba Chromecast: reset crash rate limit once a reboot is scheduled
The rate limit was never cleared after a reboot, causing each new crash
report to trigger a new rate limit and another reboot.

Bug: internal b/157741351
Test: Run cast_crash_unittests
Change-Id: Ic92054f3aeb5d22e8f35dbc6d744e84e7a64b015
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2222966
Reviewed-by: Yuchen Liu <yucliu@chromium.org>
Commit-Queue: Joshua LeVasseur <jlevasseur@chromium.org>
Cr-Commit-Position: refs/heads/master@{#774303}
2020-06-02 20:22:19 +00:00
..
2020-06-02 18:59:53 +00:00
2020-04-16 20:42:39 +00:00

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 in cast_features.cc
const base::Feature kMyFeature{"my_feature", base::FEATURE_DISABLED_BY_DEFAULT};


const base::Feature* kFeatures[] = {
  // ..other features
  &kMyFeature
}