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

Side by Side Diff: chrome/browser/safe_browsing/safe_browsing_database_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. 5 // Unit tests for the SafeBrowsing storage system.
6 6
7 #include "base/file_util.h" 7 #include "base/file_util.h"
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "base/path_service.h" 9 #include "base/path_service.h"
10 #include "base/process_util.h" 10 #include "base/process_util.h"
(...skipping 461 matching lines...) Expand 10 before | Expand all | Expand 10 after
472 TEST(SafeBrowsingDatabase, DISABLED_DatabaseOldLotsofDeletesIO) { 472 TEST(SafeBrowsingDatabase, DISABLED_DatabaseOldLotsofDeletesIO) {
473 std::vector<ChunksInfo> chunks; 473 std::vector<ChunksInfo> chunks;
474 std::vector<SBChunkDelete>* deletes = new std::vector<SBChunkDelete>; 474 std::vector<SBChunkDelete>* deletes = new std::vector<SBChunkDelete>;
475 SBChunkDelete del; 475 SBChunkDelete del;
476 del.is_sub_del = false; 476 del.is_sub_del = false;
477 del.list_name = "goog-malware-shavar"; 477 del.list_name = "goog-malware-shavar";
478 del.chunk_del.push_back(ChunkRange(3539, 3579)); 478 del.chunk_del.push_back(ChunkRange(3539, 3579));
479 deletes->push_back(del); 479 deletes->push_back(del);
480 PeformUpdate(L"old\\SafeBrowsing", chunks, deletes); 480 PeformUpdate(L"old\\SafeBrowsing", chunks, deletes);
481 } 481 }
482
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698