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

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

Issue 2965015: Attempt four at landing the "histogram.h removed from message_loop.h" patch. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: win build fixes 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
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"
9 #include "base/message_loop.h" 10 #include "base/message_loop.h"
10 #include "base/process_util.h" 11 #include "base/process_util.h"
11 #include "base/sha2.h" 12 #include "base/sha2.h"
12 #include "base/stats_counters.h" 13 #include "base/stats_counters.h"
13 #include "chrome/browser/safe_browsing/bloom_filter.h" 14 #include "chrome/browser/safe_browsing/bloom_filter.h"
14 #include "chrome/common/sqlite_compiled_statement.h" 15 #include "chrome/common/sqlite_compiled_statement.h"
15 #include "chrome/common/sqlite_utils.h" 16 #include "chrome/common/sqlite_utils.h"
16 #include "googleurl/src/gurl.h" 17 #include "googleurl/src/gurl.h"
17 18
18 using base::Time; 19 using base::Time;
(...skipping 1371 matching lines...) Expand 10 before | Expand all | Expand 10 after
1390 } 1391 }
1391 1392
1392 void SafeBrowsingDatabaseBloom::ClearUpdateCaches() { 1393 void SafeBrowsingDatabaseBloom::ClearUpdateCaches() {
1393 AutoLock lock(lookup_lock_); 1394 AutoLock lock(lookup_lock_);
1394 add_del_cache_.clear(); 1395 add_del_cache_.clear();
1395 sub_del_cache_.clear(); 1396 sub_del_cache_.clear();
1396 add_chunk_cache_.clear(); 1397 add_chunk_cache_.clear();
1397 sub_chunk_cache_.clear(); 1398 sub_chunk_cache_.clear();
1398 prefix_miss_cache_.clear(); 1399 prefix_miss_cache_.clear();
1399 } 1400 }
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