Carlos IL | 88a3f38 | 2018-03-13 17:54:46 | [diff] [blame] | 1 | // 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 | |
| 5 | module supervised_user.mojom; |
| 6 | |
| 7 | // Used to deliver commands from the supervised user interstitial when |
| 8 | // committed interstitials are enabled. |
| 9 | interface SupervisedUserCommands { |
| 10 | // Go back to the previous page. |
| 11 | GoBack(); |
| 12 | // Request permission from supervised user administrator to view the current |
Carlos IL | 969e534 | 2018-03-28 19:24:19 | [diff] [blame] | 13 | // URL. Expects a |success| response indicating whether or not sending the |
| 14 | // request was successful. |
| 15 | RequestPermission() => (bool success); |
Carlos IL | 88a3f38 | 2018-03-13 17:54:46 | [diff] [blame] | 16 | // Send feedback about the decision to block the current URL. |
| 17 | Feedback(); |
| 18 | }; |