| // Copyright 2017 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 chrome.mojom; |
| |
| import "url/mojom/url.mojom"; |
| |
| // This interface is provided to a renderer that is used for prerendering. It |
| // enables the renderer to detect and respond to cases that should cause the |
| // prerendering to be cancelled. |
| interface PrerenderCanceler { |
| // Cancels prerendering because of an unsupported scheme. |
| CancelPrerenderForUnsupportedScheme(url.mojom.Url url); |
| }; |