| 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 #ifndef CHROME_BROWSER_SAFE_BROWSING_SAFE_BROWSING_DATABASE_IMPL_H__ | 5 #ifndef CHROME_BROWSER_SAFE_BROWSING_SAFE_BROWSING_DATABASE_IMPL_H_ |
| 6 #define CHROME_BROWSER_SAFE_BROWSING_SAFE_BROWSING_DATABASE_IMPL_H__ | 6 #define CHROME_BROWSER_SAFE_BROWSING_SAFE_BROWSING_DATABASE_IMPL_H_ |
| 7 | 7 |
| 8 #include <deque> | 8 #include <deque> |
| 9 #include <list> | 9 #include <list> |
| 10 #include <queue> | 10 #include <queue> |
| 11 #include <set> | 11 #include <set> |
| 12 #include <string> | 12 #include <string> |
| 13 #include <vector> | 13 #include <vector> |
| 14 | 14 |
| 15 #include "base/hash_tables.h" | 15 #include "base/hash_tables.h" |
| 16 #include "base/scoped_ptr.h" | 16 #include "base/scoped_ptr.h" |
| (...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 273 | 273 |
| 274 // Cache of prefixes that returned empty results (no full hash match). | 274 // Cache of prefixes that returned empty results (no full hash match). |
| 275 std::set<SBPrefix> prefix_miss_cache_; | 275 std::set<SBPrefix> prefix_miss_cache_; |
| 276 | 276 |
| 277 // The amount of time, in milliseconds, to wait before the next disk write. | 277 // The amount of time, in milliseconds, to wait before the next disk write. |
| 278 int disk_delay_; | 278 int disk_delay_; |
| 279 | 279 |
| 280 DISALLOW_COPY_AND_ASSIGN(SafeBrowsingDatabaseImpl); | 280 DISALLOW_COPY_AND_ASSIGN(SafeBrowsingDatabaseImpl); |
| 281 }; | 281 }; |
| 282 | 282 |
| 283 #endif // CHROME_BROWSER_SAFE_BROWSING_SAFE_BROWSING_DATABASE_IMPL_H__ | 283 #endif // CHROME_BROWSER_SAFE_BROWSING_SAFE_BROWSING_DATABASE_IMPL_H_ |
| OLD | NEW |