Chromium Code Reviews| Index: base/file_path.h |
| diff --git a/base/file_path.h b/base/file_path.h |
| index 09e82693bb24e5974f5ab74bc480c28c6d944b20..060ded5c326156e7ba5217f5295bc5f8ecd9daae 100644 |
| --- a/base/file_path.h |
| +++ b/base/file_path.h |
| @@ -53,6 +53,8 @@ |
| // between char[]-based pathnames on POSIX systems and wchar_t[]-based |
| // pathnames on Windows. |
| // |
| +// Paths can't contain NULs as a precaution agaist premature truncation. |
| +// |
| // Because a FilePath object should not be instantiated at the global scope, |
| // instead, use a FilePath::CharType[] and initialize it with |
| // FILE_PATH_LITERAL. At runtime, a FilePath object can be created from the |