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

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

Issue 2969006: Revert 52336 - More header cleanup:... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years, 5 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) 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 #include "chrome/browser/safe_browsing/safe_browsing_database_bloom.h" 5 #include "chrome/browser/safe_browsing/safe_browsing_database_bloom.h"
6 6
7 #include "base/auto_reset.h" 7 #include "base/auto_reset.h"
8 #include "base/file_util.h" 8 #include "base/file_util.h"
9 #include "base/histogram.h"
10 #include "base/message_loop.h" 9 #include "base/message_loop.h"
11 #include "base/process_util.h" 10 #include "base/process_util.h"
12 #include "base/sha2.h" 11 #include "base/sha2.h"
13 #include "base/stats_counters.h" 12 #include "base/stats_counters.h"
14 #include "chrome/browser/safe_browsing/bloom_filter.h" 13 #include "chrome/browser/safe_browsing/bloom_filter.h"
15 #include "chrome/common/sqlite_compiled_statement.h" 14 #include "chrome/common/sqlite_compiled_statement.h"
16 #include "chrome/common/sqlite_utils.h" 15 #include "chrome/common/sqlite_utils.h"
17 #include "googleurl/src/gurl.h" 16 #include "googleurl/src/gurl.h"
18 17
19 using base::Time; 18 using base::Time;
(...skipping 1371 matching lines...) Expand 10 before | Expand all | Expand 10 after
1391 } 1390 }
1392 1391
1393 void SafeBrowsingDatabaseBloom::ClearUpdateCaches() { 1392 void SafeBrowsingDatabaseBloom::ClearUpdateCaches() {
1394 AutoLock lock(lookup_lock_); 1393 AutoLock lock(lookup_lock_);
1395 add_del_cache_.clear(); 1394 add_del_cache_.clear();
1396 sub_del_cache_.clear(); 1395 sub_del_cache_.clear();
1397 add_chunk_cache_.clear(); 1396 add_chunk_cache_.clear();
1398 sub_chunk_cache_.clear(); 1397 sub_chunk_cache_.clear();
1399 prefix_miss_cache_.clear(); 1398 prefix_miss_cache_.clear();
1400 } 1399 }
OLDNEW
« no previous file with comments | « chrome/browser/profile_import_process_host.h ('k') | chrome/browser/sessions/session_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698