OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 // Helper class which handles communication with the SafeBrowsing servers for | 5 // Helper class which handles communication with the SafeBrowsing servers for |
6 // improved binary download protection. | 6 // improved binary download protection. |
7 | 7 |
8 #ifndef CHROME_BROWSER_SAFE_BROWSING_DOWNLOAD_PROTECTION_SERVICE_H_ | 8 #ifndef CHROME_BROWSER_SAFE_BROWSING_DOWNLOAD_PROTECTION_SERVICE_H_ |
9 #define CHROME_BROWSER_SAFE_BROWSING_DOWNLOAD_PROTECTION_SERVICE_H_ | 9 #define CHROME_BROWSER_SAFE_BROWSING_DOWNLOAD_PROTECTION_SERVICE_H_ |
10 #pragma once | |
11 | 10 |
12 #include <set> | 11 #include <set> |
13 #include <string> | 12 #include <string> |
14 #include <vector> | 13 #include <vector> |
15 | 14 |
16 #include "base/basictypes.h" | 15 #include "base/basictypes.h" |
17 #include "base/callback.h" | 16 #include "base/callback.h" |
18 #include "base/file_path.h" | 17 #include "base/file_path.h" |
19 #include "base/gtest_prod_util.h" | 18 #include "base/gtest_prod_util.h" |
20 #include "base/memory/ref_counted.h" | 19 #include "base/memory/ref_counted.h" |
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
197 // SignatureUtil object, may be overridden for testing. | 196 // SignatureUtil object, may be overridden for testing. |
198 scoped_refptr<SignatureUtil> signature_util_; | 197 scoped_refptr<SignatureUtil> signature_util_; |
199 | 198 |
200 int64 download_request_timeout_ms_; | 199 int64 download_request_timeout_ms_; |
201 | 200 |
202 DISALLOW_COPY_AND_ASSIGN(DownloadProtectionService); | 201 DISALLOW_COPY_AND_ASSIGN(DownloadProtectionService); |
203 }; | 202 }; |
204 } // namespace safe_browsing | 203 } // namespace safe_browsing |
205 | 204 |
206 #endif // CHROME_BROWSER_SAFE_BROWSING_DOWNLOAD_PROTECTION_SERVICE_H_ | 205 #endif // CHROME_BROWSER_SAFE_BROWSING_DOWNLOAD_PROTECTION_SERVICE_H_ |
OLD | NEW |