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

Unified Diff: chrome/common/safe_browsing/binary_feature_extractor_unittest.cc

Issue 2321453002: c/browser, c/common, components S-W: Change ScopedTempDir::path() to GetPath() (Closed)
Patch Set: Just rebased Created 4 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 side-by-side diff with in-line comments
Download patch
Index: chrome/common/safe_browsing/binary_feature_extractor_unittest.cc
diff --git a/chrome/common/safe_browsing/binary_feature_extractor_unittest.cc b/chrome/common/safe_browsing/binary_feature_extractor_unittest.cc
index 1a1cf28df1f8481387330e280fc0de0d80420d44..9da2d48515779434c431c1ca3b653e6da86e4d85 100644
--- a/chrome/common/safe_browsing/binary_feature_extractor_unittest.cc
+++ b/chrome/common/safe_browsing/binary_feature_extractor_unittest.cc
@@ -25,7 +25,7 @@ class BinaryFeatureExtractorTest : public testing::Test {
void SetUp() override {
ASSERT_TRUE(temp_dir_.CreateUniqueTempDir());
- path_ = temp_dir_.path().Append(FILE_PATH_LITERAL("file.dll"));
+ path_ = temp_dir_.GetPath().Append(FILE_PATH_LITERAL("file.dll"));
}
// Writes |size| bytes from |data| to |path_|.
@@ -55,7 +55,7 @@ class BinaryFeatureExtractorTest : public testing::Test {
TEST_F(BinaryFeatureExtractorTest, ExtractDigestNoFile) {
base::FilePath no_file =
- temp_dir_.path().Append(FILE_PATH_LITERAL("does_not_exist.dll"));
+ temp_dir_.GetPath().Append(FILE_PATH_LITERAL("does_not_exist.dll"));
ClientDownloadRequest_Digests digests;
extractor_->ExtractDigest(no_file, &digests);
« no previous file with comments | « chrome/browser/web_applications/web_app_mac_unittest.mm ('k') | chrome/common/service_process_util_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698