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

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

Issue 4007: Cleanup EOL and include guards. Lack of EOL on bloom_filter.h had broken the... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 12 years, 3 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_H__ 5 #ifndef CHROME_BROWSER_SAFE_BROWSING_SAFE_BROWSING_DATABASE_H_
6 #define CHROME_BROWSER_SAFE_BROWSING_SAFE_BROWSING_DATABASE_H__ 6 #define CHROME_BROWSER_SAFE_BROWSING_SAFE_BROWSING_DATABASE_H_
7 7
8 #include <deque> 8 #include <deque>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/scoped_ptr.h" 12 #include "base/scoped_ptr.h"
13 #include "base/task.h" 13 #include "base/task.h"
14 #include "base/time.h" 14 #include "base/time.h"
15 #include "chrome/browser/safe_browsing/bloom_filter.h" 15 #include "chrome/browser/safe_browsing/bloom_filter.h"
16 #include "chrome/browser/safe_browsing/safe_browsing_util.h" 16 #include "chrome/browser/safe_browsing/safe_browsing_util.h"
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 virtual void BuildBloomFilter() = 0; 95 virtual void BuildBloomFilter() = 0;
96 virtual void AddHostToBloomFilter(int host_key) = 0; 96 virtual void AddHostToBloomFilter(int host_key) = 0;
97 97
98 // Measuring false positive rate. Call this each time we look in the filter. 98 // Measuring false positive rate. Call this each time we look in the filter.
99 virtual void IncrementBloomFilterReadCount() = 0; 99 virtual void IncrementBloomFilterReadCount() = 0;
100 100
101 std::wstring bloom_filter_filename_; 101 std::wstring bloom_filter_filename_;
102 scoped_ptr<BloomFilter> bloom_filter_; 102 scoped_ptr<BloomFilter> bloom_filter_;
103 }; 103 };
104 104
105 #endif // CHROME_BROWSER_SAFE_BROWSING_SAFE_BROWSING_DATABASE_H__ 105 #endif // CHROME_BROWSER_SAFE_BROWSING_SAFE_BROWSING_DATABASE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698