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

Unified Diff: mojo/data_pipe_utils/data_pipe_utils.h

Issue 1382713002: Creating a pexe content handler to translate and run pexes. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Tests Added Created 5 years, 2 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: mojo/data_pipe_utils/data_pipe_utils.h
diff --git a/mojo/data_pipe_utils/data_pipe_utils.h b/mojo/data_pipe_utils/data_pipe_utils.h
index 48c59d9a79a4d2c9d867bd80d1159d8a6ba43492..1b13047fc638957c142058be5f5d4aa76726f6f1 100644
--- a/mojo/data_pipe_utils/data_pipe_utils.h
+++ b/mojo/data_pipe_utils/data_pipe_utils.h
@@ -49,6 +49,9 @@ bool BlockingCopyFromString(const std::string& source,
// closed or the creating process dies).
base::ScopedFILE BlockingCopyToTempFile(ScopedDataPipeConsumerHandle source);
+// Same as BlockingCopyToTempFile, but do not unlink the file.
+base::FilePath BlockingCopyToNewTempFile(ScopedDataPipeConsumerHandle source);
+
} // namespace common
} // namespace mojo

Powered by Google App Engine
This is Rietveld 408576698