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

Side by Side Diff: chrome/browser/safe_browsing/incident_reporting/binary_integrity_analyzer_win_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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/incident_reporting/binary_integrity_analy zer.h" 5 #include "chrome/browser/safe_browsing/incident_reporting/binary_integrity_analy zer.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_temp_dir.h" 9 #include "base/files/scoped_temp_dir.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
11 #include "base/path_service.h" 11 #include "base/path_service.h"
12 #include "base/test/scoped_path_override.h" 12 #include "base/test/scoped_path_override.h"
13 #include "chrome/common/chrome_paths.h" 13 #include "chrome/common/chrome_paths.h"
14 #include "chrome/common/safe_browsing/csd.pb.h" 14 #include "chrome/common/safe_browsing/csd.pb.h"
15 #include "testing/gmock/include/gmock/gmock.h" 15 #include "testing/gmock/include/gmock/gmock.h"
16 #include "testing/gtest/include/gtest/gtest.h" 16 #include "testing/gtest/include/gtest/gtest.h"
17 #include "version.h" // NOLINT 17 #include "version.h" // NOLINT
18 18
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 125
126 // Verify that the incident report contains the expected data. 126 // Verify that the incident report contains the expected data.
127 ASSERT_TRUE(incident_data_->has_binary_integrity()); 127 ASSERT_TRUE(incident_data_->has_binary_integrity());
128 ASSERT_TRUE(incident_data_->binary_integrity().has_file_basename()); 128 ASSERT_TRUE(incident_data_->binary_integrity().has_file_basename());
129 ASSERT_EQ("chrome_elf.dll", 129 ASSERT_EQ("chrome_elf.dll",
130 incident_data_->binary_integrity().file_basename()); 130 incident_data_->binary_integrity().file_basename());
131 ASSERT_TRUE(incident_data_->binary_integrity().has_signature()); 131 ASSERT_TRUE(incident_data_->binary_integrity().has_signature());
132 } 132 }
133 133
134 } // namespace safe_browsing 134 } // namespace safe_browsing
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698