chromium/ios/web/shell/web_usage_controller.mojom

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

module web.mojom;

// Interface that is bound to a WebState instance. Used for testing purposes
// only.
interface WebUsageController {
  // Enables/disables web usage in the WebState to which this instance is bound.
  // Passes an empty results so that tests can wait on the function being
  // executed.
  SetWebUsageEnabled(bool enabled) => ();
};