summaryrefslogtreecommitdiff
path: root/chromium/chrome/common/supervised_user_commands.mojom
blob: 993af29e230926d3a66f428d7cbb6d0e3546f4da (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// 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();
};