| Index: chrome/browser/safe_browsing/safe_browsing_util.h
|
| diff --git a/chrome/browser/safe_browsing/safe_browsing_util.h b/chrome/browser/safe_browsing/safe_browsing_util.h
|
| index 2c3f975be3512bf0c33a5da0cdfdeedfbb65a4ec..e1281468343ea2bbbad625eb5152b9bbc297b394 100644
|
| --- a/chrome/browser/safe_browsing/safe_browsing_util.h
|
| +++ b/chrome/browser/safe_browsing/safe_browsing_util.h
|
| @@ -9,6 +9,7 @@
|
|
|
| #include <cstring>
|
| #include <deque>
|
| +#include <set>
|
| #include <string>
|
| #include <vector>
|
|
|
| @@ -302,10 +303,10 @@ enum ListType {
|
| };
|
|
|
| // Maps a list name to ListType.
|
| -int GetListId(const std::string& name);
|
| -// Maps a ListId to list name. Return false if fails.
|
| -bool GetListName(int list_id, std::string* list);
|
| +ListType GetListId(const std::string& name);
|
|
|
| +// Maps a ListId to list name. Return false if fails.
|
| +bool GetListName(ListType list_id, std::string* list);
|
|
|
| // Canonicalizes url as per Google Safe Browsing Specification.
|
| // See section 6.1 in
|
| @@ -344,6 +345,7 @@ GURL GeneratePhishingReportUrl(const std::string& report_page,
|
|
|
| void StringToSBFullHash(const std::string& hash_in, SBFullHash* hash_out);
|
| std::string SBFullHashToString(const SBFullHash& hash_out);
|
| +
|
| } // namespace safe_browsing_util
|
|
|
| #endif // CHROME_BROWSER_SAFE_BROWSING_SAFE_BROWSING_UTIL_H_
|
|
|