src/eric7/Documentation/Source/eric7.WebBrowser.SafeBrowsing.SafeBrowsingManager.html

branch
eric7
changeset 10479
856476537696
parent 9209
b99e7fd55fd3
equal deleted inserted replaced
10478:de9106c55c3d 10479:856476537696
5 <link rel="stylesheet" href="styles.css"> 5 <link rel="stylesheet" href="styles.css">
6 </head> 6 </head>
7 <body> 7 <body>
8 <a NAME="top" ID="top"></a> 8 <a NAME="top" ID="top"></a>
9 <h1>eric7.WebBrowser.SafeBrowsing.SafeBrowsingManager</h1> 9 <h1>eric7.WebBrowser.SafeBrowsing.SafeBrowsingManager</h1>
10
11 <p> 10 <p>
12 Module implementing the interface for Google Safe Browsing. 11 Module implementing the interface for Google Safe Browsing.
13 </p> 12 </p>
13
14 <h3>Global Attributes</h3> 14 <h3>Global Attributes</h3>
15
16 <table> 15 <table>
17 <tr><td>None</td></tr> 16 <tr><td>None</td></tr>
18 </table> 17 </table>
18
19 <h3>Classes</h3> 19 <h3>Classes</h3>
20 20 <table>
21 <table>
22
23 <tr> 21 <tr>
24 <td><a href="#SafeBrowsingManager">SafeBrowsingManager</a></td> 22 <td><a href="#SafeBrowsingManager">SafeBrowsingManager</a></td>
25 <td>Class implementing the interface for Google Safe Browsing.</td> 23 <td>Class implementing the interface for Google Safe Browsing.</td>
26 </tr> 24 </tr>
27 </table> 25 </table>
26
28 <h3>Functions</h3> 27 <h3>Functions</h3>
29
30 <table> 28 <table>
31 <tr><td>None</td></tr> 29 <tr><td>None</td></tr>
32 </table> 30 </table>
31
33 <hr /> 32 <hr />
34 <hr /> 33 <hr />
35 <a NAME="SafeBrowsingManager" ID="SafeBrowsingManager"></a> 34 <a NAME="SafeBrowsingManager" ID="SafeBrowsingManager"></a>
36 <h2>SafeBrowsingManager</h2> 35 <h2>SafeBrowsingManager</h2>
37
38 <p> 36 <p>
39 Class implementing the interface for Google Safe Browsing. 37 Class implementing the interface for Google Safe Browsing.
40 </p> 38 </p>
39
41 <h3>Signals</h3> 40 <h3>Signals</h3>
42 <dl> 41 <dl>
43 42
44 <dt>progress(current)</dt> 43 <dt>progress(current)</dt>
45 <dd> 44 <dd>
52 </dd> 51 </dd>
53 </dl> 52 </dl>
54 <h3>Derived from</h3> 53 <h3>Derived from</h3>
55 QObject 54 QObject
56 <h3>Class Attributes</h3> 55 <h3>Class Attributes</h3>
57
58 <table> 56 <table>
59 <tr><td>enabled</td></tr> 57 <tr><td>enabled</td></tr>
60 </table> 58 </table>
59
61 <h3>Class Methods</h3> 60 <h3>Class Methods</h3>
62 61 <table>
63 <table>
64
65 <tr> 62 <tr>
66 <td><a href="#SafeBrowsingManager.getIgnoreSchemes">getIgnoreSchemes</a></td> 63 <td><a href="#SafeBrowsingManager.getIgnoreSchemes">getIgnoreSchemes</a></td>
67 <td>Class method to get the schemes not to be checked.</td> 64 <td>Class method to get the schemes not to be checked.</td>
68 </tr> 65 </tr>
69 <tr> 66 <tr>
70 <td><a href="#SafeBrowsingManager.isEnabled">isEnabled</a></td> 67 <td><a href="#SafeBrowsingManager.isEnabled">isEnabled</a></td>
71 <td>Class method to check, if safe browsing is enabled.</td> 68 <td>Class method to check, if safe browsing is enabled.</td>
72 </tr> 69 </tr>
73 </table> 70 </table>
71
74 <h3>Methods</h3> 72 <h3>Methods</h3>
75 73 <table>
76 <table>
77
78 <tr> 74 <tr>
79 <td><a href="#SafeBrowsingManager.__init__">SafeBrowsingManager</a></td> 75 <td><a href="#SafeBrowsingManager.__init__">SafeBrowsingManager</a></td>
80 <td>Constructor</td> 76 <td>Constructor</td>
81 </tr> 77 </tr>
82 <tr> 78 <tr>
162 <tr> 158 <tr>
163 <td><a href="#SafeBrowsingManager.updateHashPrefixCache">updateHashPrefixCache</a></td> 159 <td><a href="#SafeBrowsingManager.updateHashPrefixCache">updateHashPrefixCache</a></td>
164 <td>Public method to load or update the locally cached threat lists.</td> 160 <td>Public method to load or update the locally cached threat lists.</td>
165 </tr> 161 </tr>
166 </table> 162 </table>
163
167 <h3>Static Methods</h3> 164 <h3>Static Methods</h3>
168
169 <table> 165 <table>
170 <tr><td>None</td></tr> 166 <tr><td>None</td></tr>
171 </table> 167 </table>
168
172 169
173 <a NAME="SafeBrowsingManager.getIgnoreSchemes" ID="SafeBrowsingManager.getIgnoreSchemes"></a> 170 <a NAME="SafeBrowsingManager.getIgnoreSchemes" ID="SafeBrowsingManager.getIgnoreSchemes"></a>
174 <h4>SafeBrowsingManager.getIgnoreSchemes (class method)</h4> 171 <h4>SafeBrowsingManager.getIgnoreSchemes (class method)</h4>
175 <b>getIgnoreSchemes</b>(<i></i>) 172 <b>getIgnoreSchemes</b>(<i></i>)
176
177 <p> 173 <p>
178 Class method to get the schemes not to be checked. 174 Class method to get the schemes not to be checked.
179 </p> 175 </p>
176
180 <dl> 177 <dl>
181 <dt>Return:</dt> 178 <dt>Return:</dt>
182 <dd> 179 <dd>
183 list of schemes to be ignored 180 list of schemes to be ignored
184 </dd> 181 </dd>
190 </dd> 187 </dd>
191 </dl> 188 </dl>
192 <a NAME="SafeBrowsingManager.isEnabled" ID="SafeBrowsingManager.isEnabled"></a> 189 <a NAME="SafeBrowsingManager.isEnabled" ID="SafeBrowsingManager.isEnabled"></a>
193 <h4>SafeBrowsingManager.isEnabled (class method)</h4> 190 <h4>SafeBrowsingManager.isEnabled (class method)</h4>
194 <b>isEnabled</b>(<i></i>) 191 <b>isEnabled</b>(<i></i>)
195
196 <p> 192 <p>
197 Class method to check, if safe browsing is enabled. 193 Class method to check, if safe browsing is enabled.
198 </p> 194 </p>
195
199 <dl> 196 <dl>
200 <dt>Return:</dt> 197 <dt>Return:</dt>
201 <dd> 198 <dd>
202 flag indicating the enabled state 199 flag indicating the enabled state
203 </dd> 200 </dd>
209 </dd> 206 </dd>
210 </dl> 207 </dl>
211 <a NAME="SafeBrowsingManager.__init__" ID="SafeBrowsingManager.__init__"></a> 208 <a NAME="SafeBrowsingManager.__init__" ID="SafeBrowsingManager.__init__"></a>
212 <h4>SafeBrowsingManager (Constructor)</h4> 209 <h4>SafeBrowsingManager (Constructor)</h4>
213 <b>SafeBrowsingManager</b>(<i></i>) 210 <b>SafeBrowsingManager</b>(<i></i>)
214
215 <p> 211 <p>
216 Constructor 212 Constructor
217 </p> 213 </p>
214
218 <a NAME="SafeBrowsingManager.__lookupHashes" ID="SafeBrowsingManager.__lookupHashes"></a> 215 <a NAME="SafeBrowsingManager.__lookupHashes" ID="SafeBrowsingManager.__lookupHashes"></a>
219 <h4>SafeBrowsingManager.__lookupHashes</h4> 216 <h4>SafeBrowsingManager.__lookupHashes</h4>
220 <b>__lookupHashes</b>(<i>fullHashes</i>) 217 <b>__lookupHashes</b>(<i>fullHashes</i>)
221
222 <p> 218 <p>
223 Private method to lookup the given hashes. 219 Private method to lookup the given hashes.
224 </p> 220 </p>
221
225 <dl> 222 <dl>
226 223
227 <dt><i>fullHashes</i> (list of bytes)</dt> 224 <dt><i>fullHashes</i> (list of bytes)</dt>
228 <dd> 225 <dd>
229 list of hashes to lookup 226 list of hashes to lookup
242 </dd> 239 </dd>
243 </dl> 240 </dl>
244 <a NAME="SafeBrowsingManager.__setAutoUpdateThreatLists" ID="SafeBrowsingManager.__setAutoUpdateThreatLists"></a> 241 <a NAME="SafeBrowsingManager.__setAutoUpdateThreatLists" ID="SafeBrowsingManager.__setAutoUpdateThreatLists"></a>
245 <h4>SafeBrowsingManager.__setAutoUpdateThreatLists</h4> 242 <h4>SafeBrowsingManager.__setAutoUpdateThreatLists</h4>
246 <b>__setAutoUpdateThreatLists</b>(<i></i>) 243 <b>__setAutoUpdateThreatLists</b>(<i></i>)
247
248 <p> 244 <p>
249 Private method to set auto update for the threat lists. 245 Private method to set auto update for the threat lists.
250 </p> 246 </p>
247
251 <a NAME="SafeBrowsingManager.__setLookupMethod" ID="SafeBrowsingManager.__setLookupMethod"></a> 248 <a NAME="SafeBrowsingManager.__setLookupMethod" ID="SafeBrowsingManager.__setLookupMethod"></a>
252 <h4>SafeBrowsingManager.__setLookupMethod</h4> 249 <h4>SafeBrowsingManager.__setLookupMethod</h4>
253 <b>__setLookupMethod</b>(<i></i>) 250 <b>__setLookupMethod</b>(<i></i>)
254
255 <p> 251 <p>
256 Private method to set the lookup method (Update API or Lookup API). 252 Private method to set the lookup method (Update API or Lookup API).
257 </p> 253 </p>
254
258 <a NAME="SafeBrowsingManager.__setPlatforms" ID="SafeBrowsingManager.__setPlatforms"></a> 255 <a NAME="SafeBrowsingManager.__setPlatforms" ID="SafeBrowsingManager.__setPlatforms"></a>
259 <h4>SafeBrowsingManager.__setPlatforms</h4> 256 <h4>SafeBrowsingManager.__setPlatforms</h4>
260 <b>__setPlatforms</b>(<i></i>) 257 <b>__setPlatforms</b>(<i></i>)
261
262 <p> 258 <p>
263 Private method to set the platforms to be checked against. 259 Private method to set the platforms to be checked against.
264 </p> 260 </p>
261
265 <a NAME="SafeBrowsingManager.__showNotificationMessage" ID="SafeBrowsingManager.__showNotificationMessage"></a> 262 <a NAME="SafeBrowsingManager.__showNotificationMessage" ID="SafeBrowsingManager.__showNotificationMessage"></a>
266 <h4>SafeBrowsingManager.__showNotificationMessage</h4> 263 <h4>SafeBrowsingManager.__showNotificationMessage</h4>
267 <b>__showNotificationMessage</b>(<i>message, timeout=5</i>) 264 <b>__showNotificationMessage</b>(<i>message, timeout=5</i>)
268
269 <p> 265 <p>
270 Private method to show some message in a notification widget. 266 Private method to show some message in a notification widget.
271 </p> 267 </p>
268
272 <dl> 269 <dl>
273 270
274 <dt><i>message</i> (str)</dt> 271 <dt><i>message</i> (str)</dt>
275 <dd> 272 <dd>
276 message to be shown 273 message to be shown
282 </dd> 279 </dd>
283 </dl> 280 </dl>
284 <a NAME="SafeBrowsingManager.__syncFullHashes" ID="SafeBrowsingManager.__syncFullHashes"></a> 281 <a NAME="SafeBrowsingManager.__syncFullHashes" ID="SafeBrowsingManager.__syncFullHashes"></a>
285 <h4>SafeBrowsingManager.__syncFullHashes</h4> 282 <h4>SafeBrowsingManager.__syncFullHashes</h4>
286 <b>__syncFullHashes</b>(<i>hashPrefixes</i>) 283 <b>__syncFullHashes</b>(<i>hashPrefixes</i>)
287
288 <p> 284 <p>
289 Private method to download full hashes matching given prefixes. 285 Private method to download full hashes matching given prefixes.
290 </p> 286 </p>
291 <p> 287 <p>
292 This also updates the cache expiration timestamps. 288 This also updates the cache expiration timestamps.
293 </p> 289 </p>
290
294 <dl> 291 <dl>
295 292
296 <dt><i>hashPrefixes</i> (list of bytes)</dt> 293 <dt><i>hashPrefixes</i> (list of bytes)</dt>
297 <dd> 294 <dd>
298 list of hash prefixes to get full hashes for 295 list of hash prefixes to get full hashes for
299 </dd> 296 </dd>
300 </dl> 297 </dl>
301 <a NAME="SafeBrowsingManager.__threatListsUpdateTimerTimeout" ID="SafeBrowsingManager.__threatListsUpdateTimerTimeout"></a> 298 <a NAME="SafeBrowsingManager.__threatListsUpdateTimerTimeout" ID="SafeBrowsingManager.__threatListsUpdateTimerTimeout"></a>
302 <h4>SafeBrowsingManager.__threatListsUpdateTimerTimeout</h4> 299 <h4>SafeBrowsingManager.__threatListsUpdateTimerTimeout</h4>
303 <b>__threatListsUpdateTimerTimeout</b>(<i></i>) 300 <b>__threatListsUpdateTimerTimeout</b>(<i></i>)
304
305 <p> 301 <p>
306 Private slot to perform the auto update of the threat lists. 302 Private slot to perform the auto update of the threat lists.
307 </p> 303 </p>
304
308 <a NAME="SafeBrowsingManager.__verifyThreatListChecksum" ID="SafeBrowsingManager.__verifyThreatListChecksum"></a> 305 <a NAME="SafeBrowsingManager.__verifyThreatListChecksum" ID="SafeBrowsingManager.__verifyThreatListChecksum"></a>
309 <h4>SafeBrowsingManager.__verifyThreatListChecksum</h4> 306 <h4>SafeBrowsingManager.__verifyThreatListChecksum</h4>
310 <b>__verifyThreatListChecksum</b>(<i>threatList, remoteChecksum</i>) 307 <b>__verifyThreatListChecksum</b>(<i>threatList, remoteChecksum</i>)
311
312 <p> 308 <p>
313 Private method to verify the local checksum of a threat list with the 309 Private method to verify the local checksum of a threat list with the
314 checksum of the safe browsing server. 310 checksum of the safe browsing server.
315 </p> 311 </p>
312
316 <dl> 313 <dl>
317 314
318 <dt><i>threatList</i> (ThreatList)</dt> 315 <dt><i>threatList</i> (ThreatList)</dt>
319 <dd> 316 <dd>
320 threat list to calculate checksum for 317 threat list to calculate checksum for
337 </dd> 334 </dd>
338 </dl> 335 </dl>
339 <a NAME="SafeBrowsingManager.close" ID="SafeBrowsingManager.close"></a> 336 <a NAME="SafeBrowsingManager.close" ID="SafeBrowsingManager.close"></a>
340 <h4>SafeBrowsingManager.close</h4> 337 <h4>SafeBrowsingManager.close</h4>
341 <b>close</b>(<i></i>) 338 <b>close</b>(<i></i>)
342
343 <p> 339 <p>
344 Public method to close the safe browsing interface. 340 Public method to close the safe browsing interface.
345 </p> 341 </p>
342
346 <a NAME="SafeBrowsingManager.configurationChanged" ID="SafeBrowsingManager.configurationChanged"></a> 343 <a NAME="SafeBrowsingManager.configurationChanged" ID="SafeBrowsingManager.configurationChanged"></a>
347 <h4>SafeBrowsingManager.configurationChanged</h4> 344 <h4>SafeBrowsingManager.configurationChanged</h4>
348 <b>configurationChanged</b>(<i></i>) 345 <b>configurationChanged</b>(<i></i>)
349
350 <p> 346 <p>
351 Public method to handle changes of the settings. 347 Public method to handle changes of the settings.
352 </p> 348 </p>
349
353 <a NAME="SafeBrowsingManager.fairUseDelayExpired" ID="SafeBrowsingManager.fairUseDelayExpired"></a> 350 <a NAME="SafeBrowsingManager.fairUseDelayExpired" ID="SafeBrowsingManager.fairUseDelayExpired"></a>
354 <h4>SafeBrowsingManager.fairUseDelayExpired</h4> 351 <h4>SafeBrowsingManager.fairUseDelayExpired</h4>
355 <b>fairUseDelayExpired</b>(<i></i>) 352 <b>fairUseDelayExpired</b>(<i></i>)
356
357 <p> 353 <p>
358 Public method to check, if the fair use wait period has expired. 354 Public method to check, if the fair use wait period has expired.
359 </p> 355 </p>
356
360 <dl> 357 <dl>
361 <dt>Return:</dt> 358 <dt>Return:</dt>
362 <dd> 359 <dd>
363 flag indicating expiration 360 flag indicating expiration
364 </dd> 361 </dd>
370 </dd> 367 </dd>
371 </dl> 368 </dl>
372 <a NAME="SafeBrowsingManager.fullCacheCleanup" ID="SafeBrowsingManager.fullCacheCleanup"></a> 369 <a NAME="SafeBrowsingManager.fullCacheCleanup" ID="SafeBrowsingManager.fullCacheCleanup"></a>
373 <h4>SafeBrowsingManager.fullCacheCleanup</h4> 370 <h4>SafeBrowsingManager.fullCacheCleanup</h4>
374 <b>fullCacheCleanup</b>(<i></i>) 371 <b>fullCacheCleanup</b>(<i></i>)
375
376 <p> 372 <p>
377 Public method to clean up the cache completely. 373 Public method to clean up the cache completely.
378 </p> 374 </p>
375
379 <a NAME="SafeBrowsingManager.getPlatformString" ID="SafeBrowsingManager.getPlatformString"></a> 376 <a NAME="SafeBrowsingManager.getPlatformString" ID="SafeBrowsingManager.getPlatformString"></a>
380 <h4>SafeBrowsingManager.getPlatformString</h4> 377 <h4>SafeBrowsingManager.getPlatformString</h4>
381 <b>getPlatformString</b>(<i>platformType</i>) 378 <b>getPlatformString</b>(<i>platformType</i>)
382
383 <p> 379 <p>
384 Public method to get the platform string for a given platform type. 380 Public method to get the platform string for a given platform type.
385 </p> 381 </p>
382
386 <dl> 383 <dl>
387 384
388 <dt><i>platformType</i> (str)</dt> 385 <dt><i>platformType</i> (str)</dt>
389 <dd> 386 <dd>
390 platform type as defined in the v4 API 387 platform type as defined in the v4 API
403 </dd> 400 </dd>
404 </dl> 401 </dl>
405 <a NAME="SafeBrowsingManager.getThreatEntryString" ID="SafeBrowsingManager.getThreatEntryString"></a> 402 <a NAME="SafeBrowsingManager.getThreatEntryString" ID="SafeBrowsingManager.getThreatEntryString"></a>
406 <h4>SafeBrowsingManager.getThreatEntryString</h4> 403 <h4>SafeBrowsingManager.getThreatEntryString</h4>
407 <b>getThreatEntryString</b>(<i>threatEntry</i>) 404 <b>getThreatEntryString</b>(<i>threatEntry</i>)
408
409 <p> 405 <p>
410 Public method to get the threat entry string. 406 Public method to get the threat entry string.
411 </p> 407 </p>
408
412 <dl> 409 <dl>
413 410
414 <dt><i>threatEntry</i> (str)</dt> 411 <dt><i>threatEntry</i> (str)</dt>
415 <dd> 412 <dd>
416 threat entry type as defined in the v4 API 413 threat entry type as defined in the v4 API
429 </dd> 426 </dd>
430 </dl> 427 </dl>
431 <a NAME="SafeBrowsingManager.getThreatMessage" ID="SafeBrowsingManager.getThreatMessage"></a> 428 <a NAME="SafeBrowsingManager.getThreatMessage" ID="SafeBrowsingManager.getThreatMessage"></a>
432 <h4>SafeBrowsingManager.getThreatMessage</h4> 429 <h4>SafeBrowsingManager.getThreatMessage</h4>
433 <b>getThreatMessage</b>(<i>threatType</i>) 430 <b>getThreatMessage</b>(<i>threatType</i>)
434
435 <p> 431 <p>
436 Public method to get a warning message for the given threat type. 432 Public method to get a warning message for the given threat type.
437 </p> 433 </p>
434
438 <dl> 435 <dl>
439 436
440 <dt><i>threatType</i> (str)</dt> 437 <dt><i>threatType</i> (str)</dt>
441 <dd> 438 <dd>
442 threat type to get the message for 439 threat type to get the message for
455 </dd> 452 </dd>
456 </dl> 453 </dl>
457 <a NAME="SafeBrowsingManager.getThreatMessages" ID="SafeBrowsingManager.getThreatMessages"></a> 454 <a NAME="SafeBrowsingManager.getThreatMessages" ID="SafeBrowsingManager.getThreatMessages"></a>
458 <h4>SafeBrowsingManager.getThreatMessages</h4> 455 <h4>SafeBrowsingManager.getThreatMessages</h4>
459 <b>getThreatMessages</b>(<i>threatLists</i>) 456 <b>getThreatMessages</b>(<i>threatLists</i>)
460
461 <p> 457 <p>
462 Public method to get threat messages for the given threats. 458 Public method to get threat messages for the given threats.
463 </p> 459 </p>
460
464 <dl> 461 <dl>
465 462
466 <dt><i>threatLists</i> (list of ThreatList)</dt> 463 <dt><i>threatLists</i> (list of ThreatList)</dt>
467 <dd> 464 <dd>
468 list of threat lists to get a message for 465 list of threat lists to get a message for
481 </dd> 478 </dd>
482 </dl> 479 </dl>
483 <a NAME="SafeBrowsingManager.getThreatType" ID="SafeBrowsingManager.getThreatType"></a> 480 <a NAME="SafeBrowsingManager.getThreatType" ID="SafeBrowsingManager.getThreatType"></a>
484 <h4>SafeBrowsingManager.getThreatType</h4> 481 <h4>SafeBrowsingManager.getThreatType</h4>
485 <b>getThreatType</b>(<i>threatList</i>) 482 <b>getThreatType</b>(<i>threatList</i>)
486
487 <p> 483 <p>
488 Public method to get a display string for a given threat type. 484 Public method to get a display string for a given threat type.
489 </p> 485 </p>
486
490 <dl> 487 <dl>
491 488
492 <dt><i>threatList</i> (str)</dt> 489 <dt><i>threatList</i> (str)</dt>
493 <dd> 490 <dd>
494 threat list to get display string for 491 threat list to get display string for
507 </dd> 504 </dd>
508 </dl> 505 </dl>
509 <a NAME="SafeBrowsingManager.isUpdatingThreatLists" ID="SafeBrowsingManager.isUpdatingThreatLists"></a> 506 <a NAME="SafeBrowsingManager.isUpdatingThreatLists" ID="SafeBrowsingManager.isUpdatingThreatLists"></a>
510 <h4>SafeBrowsingManager.isUpdatingThreatLists</h4> 507 <h4>SafeBrowsingManager.isUpdatingThreatLists</h4>
511 <b>isUpdatingThreatLists</b>(<i></i>) 508 <b>isUpdatingThreatLists</b>(<i></i>)
512
513 <p> 509 <p>
514 Public method to check, if we are in the process of updating the 510 Public method to check, if we are in the process of updating the
515 threat lists. 511 threat lists.
516 </p> 512 </p>
513
517 <dl> 514 <dl>
518 <dt>Return:</dt> 515 <dt>Return:</dt>
519 <dd> 516 <dd>
520 flag indicating an update process is active 517 flag indicating an update process is active
521 </dd> 518 </dd>
527 </dd> 524 </dd>
528 </dl> 525 </dl>
529 <a NAME="SafeBrowsingManager.lookupUrl" ID="SafeBrowsingManager.lookupUrl"></a> 526 <a NAME="SafeBrowsingManager.lookupUrl" ID="SafeBrowsingManager.lookupUrl"></a>
530 <h4>SafeBrowsingManager.lookupUrl</h4> 527 <h4>SafeBrowsingManager.lookupUrl</h4>
531 <b>lookupUrl</b>(<i>url</i>) 528 <b>lookupUrl</b>(<i>url</i>)
532
533 <p> 529 <p>
534 Public method to lookup an URL. 530 Public method to lookup an URL.
535 </p> 531 </p>
532
536 <dl> 533 <dl>
537 534
538 <dt><i>url</i> (str or QUrl)</dt> 535 <dt><i>url</i> (str or QUrl)</dt>
539 <dd> 536 <dd>
540 URL to be checked 537 URL to be checked
561 </dd> 558 </dd>
562 </dl> 559 </dl>
563 <a NAME="SafeBrowsingManager.showSafeBrowsingDialog" ID="SafeBrowsingManager.showSafeBrowsingDialog"></a> 560 <a NAME="SafeBrowsingManager.showSafeBrowsingDialog" ID="SafeBrowsingManager.showSafeBrowsingDialog"></a>
564 <h4>SafeBrowsingManager.showSafeBrowsingDialog</h4> 561 <h4>SafeBrowsingManager.showSafeBrowsingDialog</h4>
565 <b>showSafeBrowsingDialog</b>(<i></i>) 562 <b>showSafeBrowsingDialog</b>(<i></i>)
566
567 <p> 563 <p>
568 Public slot to show the safe browsing management dialog. 564 Public slot to show the safe browsing management dialog.
569 </p> 565 </p>
566
570 <a NAME="SafeBrowsingManager.updateHashPrefixCache" ID="SafeBrowsingManager.updateHashPrefixCache"></a> 567 <a NAME="SafeBrowsingManager.updateHashPrefixCache" ID="SafeBrowsingManager.updateHashPrefixCache"></a>
571 <h4>SafeBrowsingManager.updateHashPrefixCache</h4> 568 <h4>SafeBrowsingManager.updateHashPrefixCache</h4>
572 <b>updateHashPrefixCache</b>(<i></i>) 569 <b>updateHashPrefixCache</b>(<i></i>)
573
574 <p> 570 <p>
575 Public method to load or update the locally cached threat lists. 571 Public method to load or update the locally cached threat lists.
576 </p> 572 </p>
573
577 <dl> 574 <dl>
578 <dt>Return:</dt> 575 <dt>Return:</dt>
579 <dd> 576 <dd>
580 flag indicating success and an error message 577 flag indicating success and an error message
581 </dd> 578 </dd>

eric ide

mercurial