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

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

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 // Unit tests for the SafeBrowsing storage system (specific to the 5 // Unit tests for the SafeBrowsing storage system (specific to the
6 // SafeBrowsingDatabaseImpl implementation). 6 // SafeBrowsingDatabaseImpl implementation).
7 7
8 #include "base/file_util.h" 8 #include "base/file_util.h"
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/path_service.h" 10 #include "base/path_service.h"
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 216
217 // Prefixes with no full results are misses. 217 // Prefixes with no full results are misses.
218 EXPECT_EQ(database.prefix_miss_cache_.size(), 2); 218 EXPECT_EQ(database.prefix_miss_cache_.size(), 2);
219 219
220 // Update the database. 220 // Update the database.
221 PopulateDatabaseForCacheTest(&database); 221 PopulateDatabaseForCacheTest(&database);
222 222
223 // Prefix miss cache should be cleared. 223 // Prefix miss cache should be cleared.
224 EXPECT_EQ(database.prefix_miss_cache_.size(), 0); 224 EXPECT_EQ(database.prefix_miss_cache_.size(), 0);
225 } 225 }
226
227
228
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698