naiveproxy/chrome/common/supervised_user_commands.mojom

18 lines
696 B
Plaintext
Raw Permalink Normal View History

2018-08-15 01:19:20 +03:00
// Copyright 2018 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 supervised_user.mojom;
// Used to deliver commands from the supervised user interstitial when
// committed interstitials are enabled.
interface SupervisedUserCommands {
// Go back to the previous page.
GoBack();
// Request permission from supervised user administrator to view the current
// URL. Expects a |success| response indicating whether or not sending the
// request was successful.
RequestPermission() => (bool success);
// Send feedback about the decision to block the current URL.
Feedback();
};