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/net | |
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/net')
-rw-r--r-- | chrome/browser/net/url_fetcher_unittest.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/chrome/browser/net/url_fetcher_unittest.cc b/chrome/browser/net/url_fetcher_unittest.cc index 50e24fe..663fd7c 100644 --- a/chrome/browser/net/url_fetcher_unittest.cc +++ b/chrome/browser/net/url_fetcher_unittest.cc @@ -276,11 +276,11 @@ void URLFetcherProtectTest::OnURLFetchComplete(const URLFetcher* source, URLFetcherBadHTTPSTest::URLFetcherBadHTTPSTest() { PathService::Get(base::DIR_SOURCE_ROOT, &cert_dir_); - cert_dir_ = cert_dir_.Append(FILE_PATH_LITERAL("chrome")); - cert_dir_ = cert_dir_.Append(FILE_PATH_LITERAL("test")); - cert_dir_ = cert_dir_.Append(FILE_PATH_LITERAL("data")); - cert_dir_ = cert_dir_.Append(FILE_PATH_LITERAL("ssl")); - cert_dir_ = cert_dir_.Append(FILE_PATH_LITERAL("certificates")); + cert_dir_ = cert_dir_.AppendASCII("chrome"); + cert_dir_ = cert_dir_.AppendASCII("test"); + cert_dir_ = cert_dir_.AppendASCII("data"); + cert_dir_ = cert_dir_.AppendASCII("ssl"); + cert_dir_ = cert_dir_.AppendASCII("certificates"); } // The "server certificate expired" error should result in automatic @@ -307,7 +307,7 @@ void URLFetcherBadHTTPSTest::OnURLFetchComplete( } FilePath URLFetcherBadHTTPSTest::GetExpiredCertPath() { - return cert_dir_.Append(FILE_PATH_LITERAL("expired_cert.pem")); + return cert_dir_.AppendASCII("expired_cert.pem"); } void URLFetcherCancelTest::CreateFetcher(const GURL& url) { |