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

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

Issue 486843004: Change base/file_utils.h includes to base/files/file_utils.h in chrome/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix bad merge Created 6 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_store_file.h" 5 #include "chrome/browser/safe_browsing/safe_browsing_store_file.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/file_util.h" 8 #include "base/files/file_util.h"
9 #include "base/files/scoped_file.h" 9 #include "base/files/scoped_file.h"
10 #include "base/files/scoped_temp_dir.h" 10 #include "base/files/scoped_temp_dir.h"
11 #include "base/md5.h" 11 #include "base/md5.h"
12 #include "base/path_service.h" 12 #include "base/path_service.h"
13 #include "chrome/common/chrome_paths.h" 13 #include "chrome/common/chrome_paths.h"
14 #include "testing/gtest/include/gtest/gtest.h" 14 #include "testing/gtest/include/gtest/gtest.h"
15 #include "testing/platform_test.h" 15 #include "testing/platform_test.h"
16 16
17 namespace { 17 namespace {
18 18
(...skipping 887 matching lines...) Expand 10 before | Expand all | Expand 10 after
906 std::vector<SBAddFullHash> add_hashes; 906 std::vector<SBAddFullHash> add_hashes;
907 EXPECT_TRUE(store_->GetAddFullHashes(&add_hashes)); 907 EXPECT_TRUE(store_->GetAddFullHashes(&add_hashes));
908 ASSERT_EQ(1U, add_hashes.size()); 908 ASSERT_EQ(1U, add_hashes.size());
909 EXPECT_EQ(kAddChunk1, add_hashes[0].chunk_id); 909 EXPECT_EQ(kAddChunk1, add_hashes[0].chunk_id);
910 EXPECT_TRUE(SBFullHashEqual(kHash2, add_hashes[0].full_hash)); 910 EXPECT_TRUE(SBFullHashEqual(kHash2, add_hashes[0].full_hash));
911 } 911 }
912 } 912 }
913 #endif 913 #endif
914 914
915 } // namespace safe_browsing 915 } // namespace safe_browsing
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698