| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <set> | 9 #include <set> |
| 10 #include <vector> | 10 #include <vector> |
| 11 | 11 |
| 12 #include "base/basictypes.h" | 12 #include "base/basictypes.h" |
| 13 #include "base/callback.h" | 13 #include "base/callback_old.h" |
| 14 #include "base/hash_tables.h" | 14 #include "base/hash_tables.h" |
| 15 #include "base/task.h" | 15 #include "base/task.h" |
| 16 #include "base/time.h" | 16 #include "base/time.h" |
| 17 #include "chrome/browser/safe_browsing/safe_browsing_util.h" | 17 #include "chrome/browser/safe_browsing/safe_browsing_util.h" |
| 18 | 18 |
| 19 class FilePath; | 19 class FilePath; |
| 20 | 20 |
| 21 // SafeBrowsingStore provides a storage abstraction for the | 21 // SafeBrowsingStore provides a storage abstraction for the |
| 22 // safe-browsing data used to build the bloom filter. The items | 22 // safe-browsing data used to build the bloom filter. The items |
| 23 // stored are: | 23 // stored are: |
| (...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 236 | 236 |
| 237 // Cancel the update in process and remove any temporary disk | 237 // Cancel the update in process and remove any temporary disk |
| 238 // storage, leaving the original data unmodified. | 238 // storage, leaving the original data unmodified. |
| 239 virtual bool CancelUpdate() = 0; | 239 virtual bool CancelUpdate() = 0; |
| 240 | 240 |
| 241 private: | 241 private: |
| 242 DISALLOW_COPY_AND_ASSIGN(SafeBrowsingStore); | 242 DISALLOW_COPY_AND_ASSIGN(SafeBrowsingStore); |
| 243 }; | 243 }; |
| 244 | 244 |
| 245 #endif // CHROME_BROWSER_SAFE_BROWSING_SAFE_BROWSING_STORE_H_ | 245 #endif // CHROME_BROWSER_SAFE_BROWSING_SAFE_BROWSING_STORE_H_ |
| OLD | NEW |