diff options
author | yoz@chromium.org <yoz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-12-23 00:32:59 +0000 |
---|---|---|
committer | yoz@chromium.org <yoz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-12-23 00:32:59 +0000 |
commit | bd132762bed96fb325055a6c2a8693b8e1622058 (patch) | |
tree | d8cef4528b5829b372f1571ec68bd806d08f1316 /chrome/common/extensions/extension_file_util.cc | |
parent | 82f5bf344c74b55c2aa7dde11109786449cb1f40 (diff) | |
download | chromium_src-bd132762bed96fb325055a6c2a8693b8e1622058.zip chromium_src-bd132762bed96fb325055a6c2a8693b8e1622058.tar.gz chromium_src-bd132762bed96fb325055a6c2a8693b8e1622058.tar.bz2 |
Fix leading-underscore-filename error message on Windows.
BUG=329557
Review URL: https://codereview.chromium.org/101423006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@242335 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/extensions/extension_file_util.cc')
-rw-r--r-- | chrome/common/extensions/extension_file_util.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/common/extensions/extension_file_util.cc b/chrome/common/extensions/extension_file_util.cc index f401b92..bbc3e88 100644 --- a/chrome/common/extensions/extension_file_util.cc +++ b/chrome/common/extensions/extension_file_util.cc @@ -484,7 +484,7 @@ bool CheckForIllegalFilenames(const base::FilePath& extension_path, *error = base::StringPrintf( "Cannot load extension with file or directory name %s. " "Filenames starting with \"_\" are reserved for use by the system.", - filename.c_str()); + file.BaseName().AsUTF8Unsafe().c_str()); return false; } } |