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 /base | |
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 'base')
-rw-r--r-- | base/directory_watcher_unittest.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/base/directory_watcher_unittest.cc b/base/directory_watcher_unittest.cc index 5e32a36..23ae803 100644 --- a/base/directory_watcher_unittest.cc +++ b/base/directory_watcher_unittest.cc @@ -143,7 +143,7 @@ TEST_F(DirectoryWatcherTest, SubDir) { DirectoryWatcher watcher; ASSERT_TRUE(watcher.Watch(test_dir_, this)); // Write a file to the subdir. - FilePath test_path = subdir.Append(FILE_PATH_LITERAL("test_file")); + FilePath test_path = subdir.AppendASCII("test_file"); WriteTestDirFile(test_path.value(), "some content"); // We won't get a notification, so we just wait around a bit to verify @@ -190,6 +190,5 @@ TEST_F(DirectoryWatcherTest, DeleteDuringNotify) { // Basic test: add a file and verify we notice it. TEST_F(DirectoryWatcherTest, NonExistentDirectory) { DirectoryWatcher watcher; - ASSERT_FALSE(watcher.Watch( - test_dir_.Append(FILE_PATH_LITERAL("does-not-exist")), this)); + ASSERT_FALSE(watcher.Watch(test_dir_.AppendASCII("does-not-exist"), this)); } |