naiveproxy/ios/web/shell/web_usage_controller.mojom
2018-08-14 22:19:20 +00:00

15 lines
517 B
Plaintext

// 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) => ();
};