naiveproxy/chrome/common/supervised_user_commands.mojom
2018-08-11 05:35:24 +00:00

18 lines
696 B
Plaintext

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