0
Files
src/chromecast
Sharon Yang a7939256a0 [Fuchsia] Remove uses of ServiceDirectoryClient::ForCurrentProcess
In the migration away from base::fuchsia::ServiceDirectoryClient, remove
uses of the method ForCurrentProcess() and replace with
ComponentContextForCurrentProcess().

Test: All existing tests still pass.

Bug: 974072
Change-Id: If0cace8dc31699016988ddf1ec9f3d6c4239edf2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1795313
Reviewed-by: Sergey Ulanov <sergeyu@chromium.org>
Reviewed-by: Nico Weber <thakis@chromium.org>
Reviewed-by: Matt Menke <mmenke@chromium.org>
Reviewed-by: Xiaohan Wang <xhwang@chromium.org>
Commit-Queue: Sharon Yang <yangsharon@chromium.org>
Cr-Commit-Position: refs/heads/master@{#698098}
2019-09-19 17:22:23 +00:00
..
2019-08-12 23:12:07 +00:00
2019-09-13 07:21:03 +00:00
2019-09-18 15:41:39 +00:00
2019-06-27 14:24:16 +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
}