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

Unified Diff: util/file/file_writer.cc

Issue 821483002: Change 'bool world_readable' to an enum (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@master
Patch Set: fixes Created 6 years 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
« no previous file with comments | « util/file/file_writer.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: util/file/file_writer.cc
diff --git a/util/file/file_writer.cc b/util/file/file_writer.cc
index d6ab9e7c11b53e00634d25a7d125c77ddfb36f8a..4794c7f074ee47a1c648349f55829a5cef047b28 100644
--- a/util/file/file_writer.cc
+++ b/util/file/file_writer.cc
@@ -45,9 +45,9 @@ FileWriter::~FileWriter() {
bool FileWriter::Open(const base::FilePath& path,
FileWriteMode write_mode,
- bool world_readable) {
+ FilePermissions permissions) {
CHECK(!file_.is_valid());
- file_.reset(LoggingOpenFileForWrite(path, write_mode, world_readable));
+ file_.reset(LoggingOpenFileForWrite(path, write_mode, permissions));
return file_.is_valid();
}
« no previous file with comments | « util/file/file_writer.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698