diff options
author | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-12-18 02:39:16 +0000 |
---|---|---|
committer | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-12-18 02:39:16 +0000 |
commit | 99efb7b19b5ecb8e7f8f3b646f191fda8a756841 (patch) | |
tree | 3d569055ca0cfa7a1af56e3226c89927117006b8 /chrome/browser/extensions/convert_user_script_unittest.cc | |
parent | 4bd50cba12dc8311d3913569c3d43aa64f7312d0 (diff) | |
download | chromium_src-99efb7b19b5ecb8e7f8f3b646f191fda8a756841.zip chromium_src-99efb7b19b5ecb8e7f8f3b646f191fda8a756841.tar.gz chromium_src-99efb7b19b5ecb8e7f8f3b646f191fda8a756841.tar.bz2 |
Extensions: file handling clean up.
- remove various invalid uses of ASCII functions
- properly escape resource requests
- clean up file path handling
Some work remains to be done on the last bullet point but this is enough to fix the bug.
BUG=30509
TEST=see bug
Review URL: http://codereview.chromium.org/501046
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34923 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/convert_user_script_unittest.cc')
-rw-r--r-- | chrome/browser/extensions/convert_user_script_unittest.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/extensions/convert_user_script_unittest.cc b/chrome/browser/extensions/convert_user_script_unittest.cc index b7aea54..2c9ddab 100644 --- a/chrome/browser/extensions/convert_user_script_unittest.cc +++ b/chrome/browser/extensions/convert_user_script_unittest.cc @@ -48,7 +48,7 @@ TEST(ExtensionFromUserScript, Basic) { EXPECT_TRUE(file_util::PathExists( extension->path().Append(script.js_scripts()[0].relative_path()))); EXPECT_TRUE(file_util::PathExists( - extension->path().AppendASCII(Extension::kManifestFilename))); + extension->path().Append(Extension::kManifestFilename))); } TEST(ExtensionFromUserScript, NoMetdata) { @@ -84,5 +84,5 @@ TEST(ExtensionFromUserScript, NoMetdata) { EXPECT_TRUE(file_util::PathExists( extension->path().Append(script.js_scripts()[0].relative_path()))); EXPECT_TRUE(file_util::PathExists( - extension->path().AppendASCII(Extension::kManifestFilename))); + extension->path().Append(Extension::kManifestFilename))); } |