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 #ifndef CHROME_BROWSER_SAFE_BROWSING_SAFE_BROWSING_STORE_H_ | 5 #ifndef CHROME_BROWSER_SAFE_BROWSING_SAFE_BROWSING_STORE_H_ |
6 #define CHROME_BROWSER_SAFE_BROWSING_SAFE_BROWSING_STORE_H_ | 6 #define CHROME_BROWSER_SAFE_BROWSING_SAFE_BROWSING_STORE_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <deque> | 10 #include <deque> |
11 #include <set> | 11 #include <set> |
12 #include <vector> | 12 #include <vector> |
13 | 13 |
14 #include "base/callback_forward.h" | 14 #include "base/callback_forward.h" |
15 #include "base/containers/hash_tables.h" | 15 #include "base/containers/hash_tables.h" |
16 #include "base/macros.h" | 16 #include "base/macros.h" |
17 #include "base/time/time.h" | 17 #include "base/time/time.h" |
18 #include "chrome/browser/safe_browsing/safe_browsing_util.h" | 18 #include "components/safe_browsing_db/util.h" |
19 | 19 |
20 namespace base { | 20 namespace base { |
21 class FilePath; | 21 class FilePath; |
22 } | 22 } |
23 | 23 |
24 namespace safe_browsing { | 24 namespace safe_browsing { |
25 | 25 |
26 class PrefixSetBuilder; | 26 class PrefixSetBuilder; |
27 | 27 |
28 // SafeBrowsingStore provides a storage abstraction for the | 28 // SafeBrowsingStore provides a storage abstraction for the |
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
228 // storage, leaving the original data unmodified. | 228 // storage, leaving the original data unmodified. |
229 virtual bool CancelUpdate() = 0; | 229 virtual bool CancelUpdate() = 0; |
230 | 230 |
231 private: | 231 private: |
232 DISALLOW_COPY_AND_ASSIGN(SafeBrowsingStore); | 232 DISALLOW_COPY_AND_ASSIGN(SafeBrowsingStore); |
233 }; | 233 }; |
234 | 234 |
235 } // namespace safe_browsing | 235 } // namespace safe_browsing |
236 | 236 |
237 #endif // CHROME_BROWSER_SAFE_BROWSING_SAFE_BROWSING_STORE_H_ | 237 #endif // CHROME_BROWSER_SAFE_BROWSING_SAFE_BROWSING_STORE_H_ |
OLD | NEW |