Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6650)

Unified Diff: chrome/browser/url_fetcher_unittest.cc

Issue 12893: Get rid of kPathSeparator on windows. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/tab_restore_uitest.cc ('k') | chrome/browser/visitedlink_perftest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/url_fetcher_unittest.cc
===================================================================
--- chrome/browser/url_fetcher_unittest.cc (revision 6271)
+++ chrome/browser/url_fetcher_unittest.cc (working copy)
@@ -263,7 +263,7 @@
PathService::Get(base::DIR_SOURCE_ROOT, &cert_dir_);
cert_dir_ += L"/chrome/test/data/ssl/certificates/";
std::replace(cert_dir_.begin(), cert_dir_.end(),
- L'/', file_util::kPathSeparator);
+ L'/', FilePath::kSeparators[0]);
}
// The "server certificate expired" error should result in automatic
« no previous file with comments | « chrome/browser/tab_restore_uitest.cc ('k') | chrome/browser/visitedlink_perftest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698