blob: d11808b9efe7da5fd609eb4f9201967995cc0fef (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
|
// 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.
// This file was generated by:
// tools/json_schema_compiler/compiler.py.
// NOTE: The format of types has changed. 'FooType' is now
// 'chrome.safeBrowsingPrivate.FooType'.
// Please run the closure compiler before committing changes.
// See https://chromium.googlesource.com/chromium/src/+/master/docs/closure_compilation.md
/** @fileoverview Externs generated from namespace: safeBrowsingPrivate */
/**
* @const
*/
chrome.safeBrowsingPrivate = {};
/**
* @typedef {{
* url: string,
* userName: string,
* isPhishing: boolean
* }}
*/
chrome.safeBrowsingPrivate.PolicySpecifiedPasswordReuse;
/**
* @typedef {{
* url: string,
* fileName: string,
* sha256: string,
* userName: (string|undefined)
* }}
*/
chrome.safeBrowsingPrivate.DangerousDownloadInfo;
/**
* @typedef {{
* url: string,
* reason: string,
* netErrorCode: (number|undefined)
* }}
*/
chrome.safeBrowsingPrivate.InterstitialInfo;
/**
* Fired when Chrome detects a reuse of a policy specified password.
* @type {!ChromeEvent}
*/
chrome.safeBrowsingPrivate.onPolicySpecifiedPasswordReuseDetected;
/**
* Fired when the user changed their policy specified password.
* @type {!ChromeEvent}
*/
chrome.safeBrowsingPrivate.onPolicySpecifiedPasswordChanged;
/**
* Fired when the user opened a dangerous download.
* @type {!ChromeEvent}
*/
chrome.safeBrowsingPrivate.onDangerousDownloadOpened;
/**
* Fired when a security interstitial is shown to the user.
* @type {!ChromeEvent}
*/
chrome.safeBrowsingPrivate.onInterstitialShown;
/**
* Fired when the user clicked-through a security interstitial.
* @type {!ChromeEvent}
*/
chrome.safeBrowsingPrivate.onInterstitialProceeded;
|