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

Unified Diff: tools/generate_dump.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 | « no previous file | util/file/file_io.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/generate_dump.cc
diff --git a/tools/generate_dump.cc b/tools/generate_dump.cc
index d936149793dd3419b043bdc75882ece35fa2fb59..e1bbbfa7cc86d9a152214913ae022ab1dbe30af7 100644
--- a/tools/generate_dump.cc
+++ b/tools/generate_dump.cc
@@ -153,7 +153,7 @@ int GenerateDumpMain(int argc, char* argv[]) {
FileWriter file_writer;
if (!file_writer.Open(base::FilePath(options.dump_path),
FileWriteMode::kTruncateOrCreate,
- true)) {
+ FilePermissions::kWorldReadable)) {
return EXIT_FAILURE;
}
« no previous file with comments | « no previous file | util/file/file_io.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698