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

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

Issue 9958156: Add #include <iterator> to files that use std::back_inserter. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 8 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
« no previous file with comments | « chrome/browser/autocomplete/autocomplete.cc ('k') | tools/win/supalink/supalink.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/prefix_set.h" 5 #include "chrome/browser/safe_browsing/prefix_set.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <iterator>
8 9
9 #include "base/file_util.h" 10 #include "base/file_util.h"
10 #include "base/logging.h" 11 #include "base/logging.h"
11 #include "base/md5.h" 12 #include "base/md5.h"
12 #include "base/memory/scoped_ptr.h" 13 #include "base/memory/scoped_ptr.h"
13 #include "base/rand_util.h" 14 #include "base/rand_util.h"
14 #include "base/scoped_temp_dir.h" 15 #include "base/scoped_temp_dir.h"
15 #include "testing/gtest/include/gtest/gtest.h" 16 #include "testing/gtest/include/gtest/gtest.h"
16 #include "testing/platform_test.h" 17 #include "testing/platform_test.h"
17 18
(...skipping 430 matching lines...) Expand 10 before | Expand all | Expand 10 after
448 if (delta > 0xFFFF) { 449 if (delta > 0xFFFF) {
449 EXPECT_FALSE(prefix_set.IsDeltaAt(i)); 450 EXPECT_FALSE(prefix_set.IsDeltaAt(i));
450 } else { 451 } else {
451 ASSERT_TRUE(prefix_set.IsDeltaAt(i)); 452 ASSERT_TRUE(prefix_set.IsDeltaAt(i));
452 EXPECT_EQ(delta, prefix_set.DeltaAt(i)); 453 EXPECT_EQ(delta, prefix_set.DeltaAt(i));
453 } 454 }
454 } 455 }
455 } 456 }
456 457
457 } // namespace 458 } // namespace
OLDNEW
« no previous file with comments | « chrome/browser/autocomplete/autocomplete.cc ('k') | tools/win/supalink/supalink.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698