blob: f1d3921a930238e2fc6e2906504f99ab042bc429 [file] [log] [blame]
// Copyright 2017 The Chromium Authors. All rights reserved.
// 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) => ();
};