summaryrefslogtreecommitdiff
path: root/chromium/components/prerender/common/prerender_canceler.mojom
blob: 5f2863a975e9128f4ea51088357b484938f3e000 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// 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 prerender.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);
};