Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(898)

Side by Side Diff: chrome/browser/safe_browsing/safe_browsing_database_bloom.h

Issue 48019: Removed unneeded includes of base/time.h. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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_BLOOM_H_ 5 #ifndef CHROME_BROWSER_SAFE_BROWSING_SAFE_BROWSING_DATABASE_BLOOM_H_
6 #define CHROME_BROWSER_SAFE_BROWSING_SAFE_BROWSING_DATABASE_BLOOM_H_ 6 #define CHROME_BROWSER_SAFE_BROWSING_SAFE_BROWSING_DATABASE_BLOOM_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/lock.h" 16 #include "base/lock.h"
17 #include "base/scoped_ptr.h" 17 #include "base/scoped_ptr.h"
18 #include "base/task.h" 18 #include "base/task.h"
19 #include "base/time.h"
20 #include "chrome/browser/safe_browsing/safe_browsing_database.h" 19 #include "chrome/browser/safe_browsing/safe_browsing_database.h"
21 #include "chrome/browser/safe_browsing/safe_browsing_util.h" 20 #include "chrome/browser/safe_browsing/safe_browsing_util.h"
22 #include "chrome/common/sqlite_compiled_statement.h" 21 #include "chrome/common/sqlite_compiled_statement.h"
23 #include "chrome/common/sqlite_utils.h" 22 #include "chrome/common/sqlite_utils.h"
24 23
24 namespace base {
25 class Time;
26 }
27
25 // The reference implementation database using SQLite. 28 // The reference implementation database using SQLite.
26 class SafeBrowsingDatabaseBloom : public SafeBrowsingDatabase { 29 class SafeBrowsingDatabaseBloom : public SafeBrowsingDatabase {
27 public: 30 public:
28 SafeBrowsingDatabaseBloom(); 31 SafeBrowsingDatabaseBloom();
29 virtual ~SafeBrowsingDatabaseBloom(); 32 virtual ~SafeBrowsingDatabaseBloom();
30 33
31 // SafeBrowsingDatabase interface: 34 // SafeBrowsingDatabase interface:
32 35
33 // Initializes the database with the given filename. The callback is 36 // Initializes the database with the given filename. The callback is
34 // executed after finishing a chunk. 37 // executed after finishing a chunk.
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after
248 // Lock for protecting access to the bloom filter and hash cache. 251 // Lock for protecting access to the bloom filter and hash cache.
249 Lock lookup_lock_; 252 Lock lookup_lock_;
250 253
251 // A store for GetHash results that have not yet been written to the database. 254 // A store for GetHash results that have not yet been written to the database.
252 HashList pending_full_hashes_; 255 HashList pending_full_hashes_;
253 256
254 DISALLOW_COPY_AND_ASSIGN(SafeBrowsingDatabaseBloom); 257 DISALLOW_COPY_AND_ASSIGN(SafeBrowsingDatabaseBloom);
255 }; 258 };
256 259
257 #endif // CHROME_BROWSER_SAFE_BROWSING_SAFE_BROWSING_DATABASE_BLOOM_H_ 260 #endif // CHROME_BROWSER_SAFE_BROWSING_SAFE_BROWSING_DATABASE_BLOOM_H_
OLDNEW
« no previous file with comments | « chrome/browser/printing/printing_layout_uitest.cc ('k') | chrome/browser/sessions/tab_restore_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698