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

Unified Diff: base/base_paths.cc

Issue 11252: Move more code to using FilePath. (Closed)
Patch Set: rebased Created 12 years, 1 month 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 | base/base_paths_linux.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/base_paths.cc
diff --git a/base/base_paths.cc b/base/base_paths.cc
index 672bde150b83f1d4f0ded7602c5e711480e4ef46..76ef6342f62f9134befbf72c194478e3e9bf4a33 100644
--- a/base/base_paths.cc
+++ b/base/base_paths.cc
@@ -10,7 +10,7 @@
namespace base {
-bool PathProvider(int key, std::wstring* result) {
+bool PathProvider(int key, FilePath* result) {
// NOTE: DIR_CURRENT is a special cased in PathService::Get
FilePath cur;
@@ -31,7 +31,7 @@ bool PathProvider(int key, std::wstring* result) {
return false;
}
- *result = cur.ToWStringHack();
+ *result = cur;
return true;
}
« no previous file with comments | « no previous file | base/base_paths_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698