diff options
author | deanm@chromium.org <deanm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-01-22 15:23:34 +0000 |
---|---|---|
committer | deanm@chromium.org <deanm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-01-22 15:23:34 +0000 |
commit | 0e29223dd481cd628cfc1d07ee6a555c865432a4 (patch) | |
tree | 0c03427e5b23d03182d1e6e2f738e713d51ca553 /chrome/browser/extensions/user_script_master_unittest.cc | |
parent | aa268f5824938088f59c76b41978180b3e340caf (diff) | |
download | chromium_src-0e29223dd481cd628cfc1d07ee6a555c865432a4.zip chromium_src-0e29223dd481cd628cfc1d07ee6a555c865432a4.tar.gz chromium_src-0e29223dd481cd628cfc1d07ee6a555c865432a4.tar.bz2 |
Replace cases of Append(FILE_PATH_LITERAL()) with AppendASCII("").
Review URL: http://codereview.chromium.org/18499
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8454 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/user_script_master_unittest.cc')
-rw-r--r-- | chrome/browser/extensions/user_script_master_unittest.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/extensions/user_script_master_unittest.cc b/chrome/browser/extensions/user_script_master_unittest.cc index 4c11661..0fa1932 100644 --- a/chrome/browser/extensions/user_script_master_unittest.cc +++ b/chrome/browser/extensions/user_script_master_unittest.cc @@ -25,7 +25,7 @@ class UserScriptMasterTest : public testing::Test, // Name a subdirectory of the temp directory. FilePath tmp_dir; ASSERT_TRUE(PathService::Get(base::DIR_TEMP, &tmp_dir)); - script_dir_ = tmp_dir.Append(FILE_PATH_LITERAL("UserScriptTest")); + script_dir_ = tmp_dir.AppendASCII("UserScriptTest"); // Create a fresh, empty copy of this directory. file_util::Delete(script_dir_, true); @@ -87,7 +87,7 @@ TEST_F(UserScriptMasterTest, NewScripts) { scoped_refptr<UserScriptMaster> master( new UserScriptMaster(MessageLoop::current(), script_dir_)); - FilePath path = script_dir_.Append(FILE_PATH_LITERAL("script.user.js")); + FilePath path = script_dir_.AppendASCII("script.user.js"); FILE* file = file_util::OpenFile(path, "w"); const char content[] = "some content"; @@ -101,7 +101,7 @@ TEST_F(UserScriptMasterTest, NewScripts) { // Test that we get notified about scripts if they're already in the test dir. TEST_F(UserScriptMasterTest, ExistingScripts) { - FilePath path = script_dir_.Append(FILE_PATH_LITERAL("script.user.js")); + FilePath path = script_dir_.AppendASCII("script.user.js"); FILE* file = file_util::OpenFile(path, "w"); const char content[] = "some content"; |