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 // Utilities for the SafeBrowsing code. | 5 // Utilities for the SafeBrowsing code. |
6 | 6 |
7 #ifndef CHROME_BROWSER_SAFE_BROWSING_SAFE_BROWSING_UTIL_H_ | 7 #ifndef CHROME_BROWSER_SAFE_BROWSING_SAFE_BROWSING_UTIL_H_ |
8 #define CHROME_BROWSER_SAFE_BROWSING_SAFE_BROWSING_UTIL_H_ | 8 #define CHROME_BROWSER_SAFE_BROWSING_SAFE_BROWSING_UTIL_H_ |
9 | 9 |
| 10 #include <stddef.h> |
| 11 |
10 #include <cstring> | 12 #include <cstring> |
11 #include <string> | 13 #include <string> |
12 #include <vector> | 14 #include <vector> |
13 | 15 |
14 #include "base/basictypes.h" | 16 #include "base/macros.h" |
15 #include "base/memory/scoped_ptr.h" | 17 #include "base/memory/scoped_ptr.h" |
16 #include "base/strings/string_piece.h" | 18 #include "base/strings/string_piece.h" |
17 #include "base/time/time.h" | 19 #include "base/time/time.h" |
18 #include "chrome/browser/safe_browsing/chunk_range.h" | 20 #include "chrome/browser/safe_browsing/chunk_range.h" |
19 #include "components/safe_browsing_db/util.h" | 21 #include "components/safe_browsing_db/util.h" |
20 | 22 |
21 namespace safe_browsing { | 23 namespace safe_browsing { |
22 | 24 |
23 class ChunkData; | 25 class ChunkData; |
24 | 26 |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
78 ~SBChunkDelete(); | 80 ~SBChunkDelete(); |
79 | 81 |
80 std::string list_name; | 82 std::string list_name; |
81 bool is_sub_del; | 83 bool is_sub_del; |
82 std::vector<ChunkRange> chunk_del; | 84 std::vector<ChunkRange> chunk_del; |
83 }; | 85 }; |
84 | 86 |
85 } // namespace safe_browsing | 87 } // namespace safe_browsing |
86 | 88 |
87 #endif // CHROME_BROWSER_SAFE_BROWSING_SAFE_BROWSING_UTIL_H_ | 89 #endif // CHROME_BROWSER_SAFE_BROWSING_SAFE_BROWSING_UTIL_H_ |
OLD | NEW |