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

Unified Diff: client/settings.h

Issue 987383002: Return a FilePath from Settings::file_path() (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@master
Patch Set: Rebase Created 5 years, 9 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
« no previous file with comments | « client/crash_report_database_test.cc ('k') | client/settings.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/settings.h
diff --git a/client/settings.h b/client/settings.h
index 741561be4925ae2a7e5d17d53439f7ca4df725d7..bab5186a5351374f5c0449a54c6cd61605b56d95 100644
--- a/client/settings.h
+++ b/client/settings.h
@@ -133,7 +133,7 @@ class Settings {
// on success and false on failure, with an error logged.
bool InitializeSettings(FileHandle handle);
- const char* file_path() { return file_path_.value().c_str(); }
+ const base::FilePath& file_path() const { return file_path_; }
base::FilePath file_path_;
« no previous file with comments | « client/crash_report_database_test.cc ('k') | client/settings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698