| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 // | 4 // |
| 5 // Utilities for the SafeBrowsing code. | 5 // Utilities for the SafeBrowsing code. |
| 6 | 6 |
| 7 #ifndef CHROME_BROWSER_SAFE_BROWSING_UTIL_H__ | 7 #ifndef CHROME_BROWSER_SAFE_BROWSING_SAFE_BROWSING_UTIL_H_ |
| 8 #define CHROME_BROWSER_SAFE_BROWSING_UTIL_H__ | 8 #define CHROME_BROWSER_SAFE_BROWSING_SAFE_BROWSING_UTIL_H_ |
| 9 | 9 |
| 10 #include <string.h> | 10 #include <string.h> |
| 11 | 11 |
| 12 #include <deque> | 12 #include <deque> |
| 13 #include <string> | 13 #include <string> |
| 14 #include <vector> | 14 #include <vector> |
| 15 | 15 |
| 16 #include "base/scoped_ptr.h" | 16 #include "base/scoped_ptr.h" |
| 17 #include "chrome/browser/safe_browsing/chunk_range.h" | 17 #include "chrome/browser/safe_browsing/chunk_range.h" |
| 18 | 18 |
| (...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 292 bool VerifyMAC(const std::string& key, | 292 bool VerifyMAC(const std::string& key, |
| 293 const std::string& mac, | 293 const std::string& mac, |
| 294 const char* data, | 294 const char* data, |
| 295 int data_length); | 295 int data_length); |
| 296 | 296 |
| 297 GURL GeneratePhishingReportUrl(const std::string& report_page, | 297 GURL GeneratePhishingReportUrl(const std::string& report_page, |
| 298 const std::string& url_to_report); | 298 const std::string& url_to_report); |
| 299 | 299 |
| 300 } // namespace safe_browsing_util | 300 } // namespace safe_browsing_util |
| 301 | 301 |
| 302 #endif // CHROME_BROWSER_SAFE_BROWSING_UTIL_H__ | 302 #endif // CHROME_BROWSER_SAFE_BROWSING_SAFE_BROWSING_UTIL_H_ |
| 303 | |
| OLD | NEW |