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

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: Minor changes 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..56d4b8c2ebd007fc0e0f811de2f00982b5d7db1c 100644
--- a/chrome/browser/extensions/path_util.h
+++ b/chrome/browser/extensions/path_util.h
@@ -15,6 +15,9 @@ 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
+// chrome/browser/extensions/extension_path_util_unittest.cc.
base::FilePath PrettifyPath(const base::FilePath& source_path);
} // namespace path_util

Powered by Google App Engine
This is Rietveld 408576698