blob: 993af29e230926d3a66f428d7cbb6d0e3546f4da [file] [log] [blame]
Carlos IL88a3f382018-03-13 17:54:461// Copyright 2018 The Chromium Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5module supervised_user.mojom;
6
7// Used to deliver commands from the supervised user interstitial when
8// committed interstitials are enabled.
9interface SupervisedUserCommands {
10 // Go back to the previous page.
11 GoBack();
12 // Request permission from supervised user administrator to view the current
Carlos IL969e5342018-03-28 19:24:1913 // URL. Expects a |success| response indicating whether or not sending the
14 // request was successful.
15 RequestPermission() => (bool success);
Carlos IL88a3f382018-03-13 17:54:4616 // Send feedback about the decision to block the current URL.
17 Feedback();
18};