diff options
author | bryner@chromium.org <bryner@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-04-16 21:22:19 +0000 |
---|---|---|
committer | bryner@chromium.org <bryner@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-04-16 21:22:19 +0000 |
commit | ce82c057bf25ea69aede1a546eff032ef3a79c45 (patch) | |
tree | 66921c8fcb6ff572d6e8628f816a0acdd21dd27d /chrome/browser/safe_browsing/safe_browsing_util.h | |
parent | c7ebcb98313a3726a45325c30e468bf8efd4b80f (diff) | |
download | chromium_src-ce82c057bf25ea69aede1a546eff032ef3a79c45.zip chromium_src-ce82c057bf25ea69aede1a546eff032ef3a79c45.tar.gz chromium_src-ce82c057bf25ea69aede1a546eff032ef3a79c45.tar.bz2 |
Replace SafeBrowsing MAC with downloads over SSL.
BUG=119662
TEST=updated unittests, ran Chrome and verified SB functionality on new profile
Review URL: http://codereview.chromium.org/10069031
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@132456 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/safe_browsing/safe_browsing_util.h')
-rw-r--r-- | chrome/browser/safe_browsing/safe_browsing_util.h | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/chrome/browser/safe_browsing/safe_browsing_util.h b/chrome/browser/safe_browsing/safe_browsing_util.h index 577ffab..4d8abd0 100644 --- a/chrome/browser/safe_browsing/safe_browsing_util.h +++ b/chrome/browser/safe_browsing/safe_browsing_util.h @@ -1,4 +1,4 @@ -// Copyright (c) 2011 The Chromium Authors. All rights reserved. +// Copyright (c) 2012 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. // @@ -23,10 +23,9 @@ class SBEntry; // A truncated hash's type. typedef int32 SBPrefix; -// Container for holding a chunk URL and the MAC of the contents of the URL. +// Container for holding a chunk URL and the list it belongs to. struct ChunkUrl { std::string url; - std::string mac; std::string list_name; }; @@ -319,12 +318,6 @@ bool IsMalwareList(const std::string& list_name); bool IsBadbinurlList(const std::string& list_name); bool IsBadbinhashList(const std::string& list_name); -// Returns 'true' if 'mac' can be verified using 'key' and 'data'. -bool VerifyMAC(const std::string& key, - const std::string& mac, - const char* data, - int data_length); - GURL GeneratePhishingReportUrl(const std::string& report_page, const std::string& url_to_report, bool is_client_side_detection); |