/external/chromium/chrome/browser/download/ |
H A D | download_safe_browsing_client.h | 17 // SafeBrowsingService. The client is refcounted and will be released once 32 : public SafeBrowsingService::Client, 50 // Call SafeBrowsingService on IO thread to verify the download URL or 55 // Callback interfaces for SafeBrowsingService::Client. 58 SafeBrowsingService::UrlCheckResult result); 60 const std::string& hash, SafeBrowsingService::UrlCheckResult result); 82 void SafeBrowsingCheckUrlDone(SafeBrowsingService::UrlCheckResult result); 83 void SafeBrowsingCheckHashDone(SafeBrowsingService::UrlCheckResult result); 86 void ReportMalware(SafeBrowsingService::UrlCheckResult result); 98 scoped_refptr<SafeBrowsingService> sb_service [all...] |
H A D | download_safe_browsing_client.cc | 21 // SafeBrowsingService::Client is changed to RefCountedThreadSafe<>. 80 // Wait for SafeBrowsingService to call back OnDownloadUrlCheckResult. 83 OnDownloadUrlCheckResult(url_chain, SafeBrowsingService::SAFE); 86 // The callback interface for SafeBrowsingService::Client. 90 SafeBrowsingService::UrlCheckResult result) { 104 // Wait for SafeBrowsingService to call back OnDownloadUrlCheckResult. 107 OnDownloadHashCheckResult(hash, SafeBrowsingService::SAFE); 110 // The callback interface for SafeBrowsingService::Client. 113 const std::string& hash, SafeBrowsingService::UrlCheckResult result) { 123 SafeBrowsingService [all...] |
/external/chromium/chrome/browser/safe_browsing/ |
H A D | safe_browsing_service.cc | 84 SafeBrowsingServiceFactory* SafeBrowsingService::factory_ = NULL; 90 virtual SafeBrowsingService* CreateSafeBrowsingService() { 91 return new SafeBrowsingService(); 105 struct SafeBrowsingService::WhiteListedEntry { 112 SafeBrowsingService::UnsafeResource::UnsafeResource() 120 SafeBrowsingService::UnsafeResource::~UnsafeResource() {} 122 SafeBrowsingService::SafeBrowsingCheck::SafeBrowsingCheck() 131 SafeBrowsingService::SafeBrowsingCheck::~SafeBrowsingCheck() {} 133 void SafeBrowsingService::Client::OnSafeBrowsingResult( 154 SafeBrowsingService* SafeBrowsingServic 160 SafeBrowsingService::SafeBrowsingService() function in class:SafeBrowsingService [all...] |
H A D | malware_details.h | 45 SafeBrowsingService* sb_service, 47 const SafeBrowsingService::UnsafeResource& resource); 69 MalwareDetails(SafeBrowsingService* sb_service, 71 const SafeBrowsingService::UnsafeResource& resource); 111 scoped_refptr<SafeBrowsingService> sb_service_; 113 const SafeBrowsingService::UnsafeResource resource_; 143 SafeBrowsingService* sb_service, 145 const SafeBrowsingService::UnsafeResource& unsafe_resource) = 0;
|
H A D | safe_browsing_blocking_page.h | 12 // The SafeBrowsingBlockingPage is created by the SafeBrowsingService on the UI 18 // SafeBrowsingService so that we can cancel the request for the new page, or 47 typedef std::vector<SafeBrowsingService::UnsafeResource> UnsafeResourceList; 58 SafeBrowsingService* service, 59 const SafeBrowsingService::UnsafeResource& resource); 80 SafeBrowsingBlockingPage(SafeBrowsingService* service, 120 // A list of SafeBrowsingService::UnsafeResource for a tab that the user 125 // Notifies the SafeBrowsingService on the IO thread whether to proceed or not 127 static void NotifySafeBrowsingService(SafeBrowsingService* sb_service, 138 SafeBrowsingService* sb_service [all...] |
H A D | safe_browsing_blocking_page_test.cc | 28 class FakeSafeBrowsingService : public SafeBrowsingService { 38 // Overrides SafeBrowsingService::CheckBrowseUrl. 51 SafeBrowsingService::SafeBrowsingCheck check; 62 // Overrides SafeBrowsingService. 94 virtual SafeBrowsingService* CreateSafeBrowsingService() { 102 FakeMalwareDetails(SafeBrowsingService* sb_service, 104 const SafeBrowsingService::UnsafeResource& unsafe_resource) 161 SafeBrowsingService* sb_service, 163 const SafeBrowsingService::UnsafeResource& unsafe_resource) { 180 TestSafeBrowsingBlockingPage(SafeBrowsingService* servic [all...] |
H A D | client_side_detection_host.h | 64 void set_safe_browsing_service(SafeBrowsingService* service); 69 scoped_refptr<SafeBrowsingService> sb_service_;
|
H A D | safe_browsing_service_browsertest.cc | 175 TestProtocolManager(SafeBrowsingService* sb_service, 196 virtual void GetFullHash(SafeBrowsingService::SafeBrowsingCheck* check, 203 sb_service_, &SafeBrowsingService::HandleGetHashResults, 220 SafeBrowsingService* sb_service_; 231 SafeBrowsingService* sb_service, 283 // RegisterFactory has to be called before SafeBrowsingService is created. 293 // (which destructs SafeBrowsingService). 348 int64 DownloadUrlCheckTimeout(SafeBrowsingService* sb_service) { 352 int64 DownloadHashCheckTimeout(SafeBrowsingService* sb_service) { 356 void SetDownloadUrlCheckTimeout(SafeBrowsingService* sb_servic [all...] |
H A D | protocol_manager.h | 54 SafeBrowsingService* sb_service, 85 // a SafeBrowsingService. Useful for tests. 92 SafeBrowsingService* sb_service, 113 // API used by the SafeBrowsingService for issuing queries. When the results 114 // are available, SafeBrowsingService::HandleGetHashResults is called. 115 virtual void GetFullHash(SafeBrowsingService::SafeBrowsingCheck* check, 124 // Called by the SafeBrowsingService when our request for a list of all chunks 141 SafeBrowsingService::UrlCheckResult threat_type, 154 // be changed in the middle of an update, caller (e.g.: SafeBrowsingService) 203 SafeBrowsingService* sb_servic [all...] |
H A D | safe_browsing_service.h | 42 class SafeBrowsingService class in inherits:base::RefCountedThreadSafe 43 : public base::RefCountedThreadSafe<SafeBrowsingService> { 127 // a SafeBrowsingService. Useful for tests. 133 static SafeBrowsingService* CreateSafeBrowsingService(); 262 SafeBrowsingService(); 264 virtual ~SafeBrowsingService(); 283 friend class base::RefCountedThreadSafe<SafeBrowsingService>; 403 // The factory used to instanciate a SafeBrowsingService object. 405 // SafeBrowsingService. 425 // Whether the service is running. 'enabled_' is used by SafeBrowsingService [all...] |
H A D | safe_browsing_blocking_page.cc | 103 SafeBrowsingService* service, 123 SafeBrowsingService* sb_service, 146 unsafe_resources[0].threat_type == SafeBrowsingService::URL_MALWARE && 178 SafeBrowsingService::URL_MALWARE) { 183 SafeBrowsingService::URL_PHISHING); 222 const SafeBrowsingService::UnsafeResource& resource = *iter; 224 if (resource.threat_type == SafeBrowsingService::URL_MALWARE) { 230 DCHECK(resource.threat_type == SafeBrowsingService::URL_PHISHING); 408 if (unsafe_resources_[0].threat_type == SafeBrowsingService::URL_MALWARE) { 411 SafeBrowsingService [all...] |
H A D | protocol_manager.cc | 46 SafeBrowsingService* sb_service, 70 SafeBrowsingService* sb_service, 88 SafeBrowsingService* sb_service, 152 // Public API used by the SafeBrowsingService ---------------------------------- 158 SafeBrowsingService::SafeBrowsingCheck* check, 233 SafeBrowsingService::SafeBrowsingCheck* check = it->second; 254 // If we fail to parse it, we must still inform the SafeBrowsingService 273 // Call back the SafeBrowsingService with full_hashes, even if there was a 465 sb_service_, &SafeBrowsingService::OnNewMacKeys, client_key_, 652 SafeBrowsingService [all...] |
H A D | client_side_detection_host.cc | 49 SafeBrowsingService* sb_service, 223 scoped_refptr<SafeBrowsingService> sb_service_; 230 class CsdClient : public SafeBrowsingService::Client { 234 // Method from SafeBrowsingService::Client. This method is called on the 358 // on the SafeBrowsingService here and so that we don't need to go 365 &SafeBrowsingService::DisplayBlockingPage, 372 SafeBrowsingService::URL_PHISHING, 386 SafeBrowsingService* service) {
|
H A D | malware_details.cc | 39 SafeBrowsingService* sb_service, 41 const SafeBrowsingService::UnsafeResource& unsafe_resource) { 60 SafeBrowsingService* sb_service, 62 const SafeBrowsingService::UnsafeResource& resource) { 72 SafeBrowsingService* sb_service, 74 const SafeBrowsingService::UnsafeResource& resource) 267 // Send the report, using the SafeBrowsingService.
|
H A D | malware_details_unittest.cc | 126 MalwareDetailsWrap(SafeBrowsingService* sb_service, 128 const SafeBrowsingService::UnsafeResource& unsafe_resource, 137 class MockSafeBrowsingService : public SafeBrowsingService { 204 void InitResource(SafeBrowsingService::UnsafeResource* resource, 210 resource->threat_type = SafeBrowsingService::URL_MALWARE; 291 SafeBrowsingService::UnsafeResource resource; 322 SafeBrowsingService::UnsafeResource resource; 361 SafeBrowsingService::UnsafeResource resource; 416 SafeBrowsingService::UnsafeResource resource; 440 SafeBrowsingService [all...] |
H A D | safe_browsing_blocking_page_unittest.cc | 26 TestSafeBrowsingBlockingPage(SafeBrowsingService* service, 38 class TestSafeBrowsingService: public SafeBrowsingService { 60 SafeBrowsingService* service, 69 public SafeBrowsingService::Client { 91 // SafeBrowsingService::Client implementation. 93 SafeBrowsingService::UrlCheckResult result) { 122 SafeBrowsingService::UnsafeResource resource; 143 // Proceed() posts a task to update the SafeBrowsingService::Client. 150 // DontProceed() posts a task to update the SafeBrowsingService::Client. 157 void InitResource(SafeBrowsingService [all...] |
H A D | safe_browsing_test.cc | 228 void CheckUrl(SafeBrowsingService::Client* helper, const GURL& url) { 319 SafeBrowsingService* safe_browsing_service_; 343 public SafeBrowsingService::Client, 352 // Callbacks for SafeBrowsingService::Client. 354 const GURL& url, SafeBrowsingService::UrlCheckResult result) { 358 result == SafeBrowsingService::SAFE); 365 SafeBrowsingService::UrlCheckResult result) {
|
H A D | protocol_manager_unittest.cc | 210 true, SafeBrowsingService::URL_MALWARE).spec()); 220 false, SafeBrowsingService::URL_PHISHING).spec()); 229 false, SafeBrowsingService::BINARY_MALWARE_URL).spec()); 238 false, SafeBrowsingService::BINARY_MALWARE_HASH).spec());
|
H A D | client_side_detection_host_unittest.cc | 69 class MockSafeBrowsingService : public SafeBrowsingService { 81 void InvokeOnBlockingPageComplete(SafeBrowsingService::Client* client) { 304 SafeBrowsingService::Client* client; 311 SafeBrowsingService::URL_PHISHING, 382 SafeBrowsingService::Client* client; 389 SafeBrowsingService::URL_PHISHING,
|
/external/chromium/chrome/browser/renderer_host/ |
H A D | safe_browsing_resource_handler.h | 22 // malware/phishing blacklists (see SafeBrowsingService for details). 43 public SafeBrowsingService::Client { 49 SafeBrowsingService* safe_browsing, 66 // SafeBrowsingService::Client implementation, called on the IO thread once 69 const GURL& url, SafeBrowsingService::UrlCheckResult result); 71 // SafeBrowsingService::Client implementation, called on the IO thread when 106 SafeBrowsingService::UrlCheckResult result); 127 SafeBrowsingService::UrlCheckResult safe_browsing_result_; 147 scoped_refptr<SafeBrowsingService> safe_browsing_;
|
H A D | safe_browsing_resource_handler.cc | 30 SafeBrowsingService* safe_browsing, 34 safe_browsing_result_(SafeBrowsingService::SAFE), 94 OnBrowseUrlCheckResult(deferred_url_, SafeBrowsingService::SAFE); 141 // SafeBrowsingService::Client implementation, called on the IO thread once 144 const GURL& url, SafeBrowsingService::UrlCheckResult result) { 154 if (result == SafeBrowsingService::SAFE) { 179 SafeBrowsingService::UrlCheckResult result) { 201 // SafeBrowsingService::Client implementation, called on the IO thread when 208 safe_browsing_result_ = SafeBrowsingService::SAFE; 238 safe_browsing_result_ = SafeBrowsingService [all...] |
/external/chromium/chrome/browser/ |
H A D | memory_purger.cc | 36 explicit PurgeMemoryIOHelper(SafeBrowsingService* safe_browsing_service) 50 scoped_refptr<SafeBrowsingService> safe_browsing_service_;
|
/external/chromium/chrome/browser/prefs/ |
H A D | browser_prefs.cc | 96 SafeBrowsingService::RegisterPrefs(local_state);
|