naiveproxy/ios/web/shell/web_usage_controller.mojom

15 lines
517 B
Plaintext
Raw Normal View History

2018-01-28 19:30:36 +03:00
// 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) => ();
};