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

Unified Diff: remoting/host/linux/certificate_watcher_unittest.cc

Issue 2317123003: misc files R-U: 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: remoting/host/linux/certificate_watcher_unittest.cc
diff --git a/remoting/host/linux/certificate_watcher_unittest.cc b/remoting/host/linux/certificate_watcher_unittest.cc
index 62c9821569c808de86b7c12b36adb85e9aade8ac..10cb5640a1dd07ab48c75cda9d0d2bd92cbbace8 100644
--- a/remoting/host/linux/certificate_watcher_unittest.cc
+++ b/remoting/host/linux/certificate_watcher_unittest.cc
@@ -32,7 +32,7 @@ class CertificateWatcherTest : public testing::Test {
base::Unretained(this)),
task_runner_));
watcher_->SetDelayForTests(base::TimeDelta::FromSeconds(0));
- watcher_->SetWatchPathForTests(temp_dir_.path());
+ watcher_->SetWatchPathForTests(temp_dir_.GetPath());
}
~CertificateWatcherTest() override {
@@ -84,7 +84,7 @@ class CertificateWatcherTest : public testing::Test {
void TouchFileTask(const char* filename) {
std::string testWriteString = std::to_string(rand());
- base::FilePath path = temp_dir_.path().AppendASCII(filename);
+ base::FilePath path = temp_dir_.GetPath().AppendASCII(filename);
if (base::PathExists(path)) {
EXPECT_TRUE(base::AppendToFile(path, testWriteString.c_str(),

Powered by Google App Engine
This is Rietveld 408576698