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

Unified Diff: chromeos/binder/test_service.cc

Issue 2318023002: //chrome/browser/chromeos: Change ScopedTempDir::path() to GetPath() (Closed)
Patch Set: Address comment and also remove non-trivial cases 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: chromeos/binder/test_service.cc
diff --git a/chromeos/binder/test_service.cc b/chromeos/binder/test_service.cc
index 1f2cb282b9809b162736ca850ed84d7b498de8fc..10c4eb9146c4445d0d84ab3ce7935268a6f29fdc 100644
--- a/chromeos/binder/test_service.cc
+++ b/chromeos/binder/test_service.cc
@@ -49,7 +49,7 @@ class TestService::TestObject : public LocalObject::TransactionHandler {
base::ScopedTempDir temp_dir;
base::FilePath path;
if (!temp_dir.CreateUniqueTempDir() ||
- !base::CreateTemporaryFileInDir(temp_dir.path(), &path) ||
+ !base::CreateTemporaryFileInDir(temp_dir.GetPath(), &path) ||
!base::WriteFile(path, data.data(), data.size())) {
LOG(ERROR) << "Failed to create a file";
return std::unique_ptr<TransactionData>();

Powered by Google App Engine
This is Rietveld 408576698