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

Unified Diff: chrome/browser/extensions/path_util.h

Issue 439873002: Check for empty paths in path_util (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Testing comments Created 6 years, 4 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: chrome/browser/extensions/path_util.h
diff --git a/chrome/browser/extensions/path_util.h b/chrome/browser/extensions/path_util.h
index 8ac8f10aec7554c0185c2f22ecb26a08397400bc..a47ba7c99f7b29f9d7f73bf71de2727c7b9ac820 100644
--- a/chrome/browser/extensions/path_util.h
+++ b/chrome/browser/extensions/path_util.h
@@ -15,6 +15,8 @@ namespace path_util {
// For OS X, prettifies |source_path| by localizing every component of the
// path. Additionally, if the path is inside the user's home directory, then
// replace the home directory component with "~".
+//
+// This function is tested in extension_path_util_unittest.cc
Devlin 2014/08/05 23:40:35 spell out the whole path, so that handy util like
gpdavis 2014/08/06 18:37:26 Done.
base::FilePath PrettifyPath(const base::FilePath& source_path);
} // namespace path_util

Powered by Google App Engine
This is Rietveld 408576698