chromium/chromecast/common/mojom/feature_manager.mojom

// Copyright 2018 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

module chromecast.shell.mojom;

import "mojo/public/mojom/base/values.mojom";

// Represents one feature and stores additional data in
// DictionaryValue
struct Feature {
  string name;
  mojo_base.mojom.DictionaryValue config;
};

// Receives messages from the browser process to enable/disable Cast
// application-facing features. This interface is implemented by a
// single renderer.
interface FeatureManager {

  ConfigureFeatures(array<Feature> features);

};