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

Unified Diff: base/files/file_util_proxy_unittest.cc

Issue 2275553005: //base: Make ScopedTempDir::path() a GetPath() with a DCHECK (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add a hint to the DCHECK 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: base/files/file_util_proxy_unittest.cc
diff --git a/base/files/file_util_proxy_unittest.cc b/base/files/file_util_proxy_unittest.cc
index a01aa4e4f235475f7834e3375763ba8752c3e3f8..a966cb4b15abd5c8b5cd4ac9a8c50507942cfa9b 100644
--- a/base/files/file_util_proxy_unittest.cc
+++ b/base/files/file_util_proxy_unittest.cc
@@ -42,8 +42,10 @@ class FileUtilProxyTest : public testing::Test {
TaskRunner* file_task_runner() const {
return file_thread_.task_runner().get();
}
- const FilePath& test_dir_path() const { return dir_.path(); }
- const FilePath test_path() const { return dir_.path().AppendASCII("test"); }
+ const FilePath& test_dir_path() const { return dir_.GetPath(); }
danakj 2016/09/07 20:47:18 dittos
vabr (Chromium) 2016/09/08 07:45:35 test_path -- done test_dir_path -- not used anywhe
+ const FilePath test_path() const {
+ return dir_.GetPath().AppendASCII("test");
+ }
MessageLoopForIO message_loop_;
Thread file_thread_;

Powered by Google App Engine
This is Rietveld 408576698