diff -r 72b40274a3b6 -r 77a1b22c8a1f WebBrowser/SafeBrowsing/SafeBrowsingAPIClient.py --- a/WebBrowser/SafeBrowsing/SafeBrowsingAPIClient.py Tue Apr 10 19:39:13 2018 +0200 +++ b/WebBrowser/SafeBrowsing/SafeBrowsingAPIClient.py Tue Apr 10 19:40:37 2018 +0200 @@ -88,6 +88,10 @@ reply.deleteLater() return res + ####################################################################### + ## Methods below implement the 'Update API (v4)' + ####################################################################### + def getThreatsUpdate(self, clientStates): """ Public method to fetch hash prefix updates for the given threat list. @@ -254,6 +258,16 @@ """ return self.__nextRequestNoSoonerThan + ####################################################################### + ## Methods below implement the 'Lookup API (v4)' + ####################################################################### + + # TODO: implement the Lookup API (including temporary caching) + + ####################################################################### + ## Methods below implement global (class wide) functionality + ####################################################################### + @classmethod def getThreatMessage(cls, threatType): """