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

Unified Diff: chrome/common/net/url_fixer_upper.cc

Issue 177923007: Move AppendFile and *CurrentDirectory to the base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 months 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/net/net_log_temp_file_unittest.cc ('k') | chrome/installer/setup/uninstall.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/net/url_fixer_upper.cc
diff --git a/chrome/common/net/url_fixer_upper.cc b/chrome/common/net/url_fixer_upper.cc
index 3679d59f691a28b810f1e1825debc367507a7647..5c720232a7f3988b5c99daff94137dfc409e55ee 100644
--- a/chrome/common/net/url_fixer_upper.cc
+++ b/chrome/common/net/url_fixer_upper.cc
@@ -585,8 +585,8 @@ GURL URLFixerUpper::FixupRelativeFile(const base::FilePath& base_dir,
base::FilePath old_cur_directory;
if (!base_dir.empty()) {
// Save the old current directory before we move to the new one.
- file_util::GetCurrentDirectory(&old_cur_directory);
- file_util::SetCurrentDirectory(base_dir);
+ base::GetCurrentDirectory(&old_cur_directory);
+ base::SetCurrentDirectory(base_dir);
}
// Allow funny input with extra whitespace and the wrong kind of slashes.
@@ -619,7 +619,7 @@ GURL URLFixerUpper::FixupRelativeFile(const base::FilePath& base_dir,
// Put back the current directory if we saved it.
if (!base_dir.empty())
- file_util::SetCurrentDirectory(old_cur_directory);
+ base::SetCurrentDirectory(old_cur_directory);
if (is_file) {
GURL file_url = net::FilePathToFileURL(full_path);
« no previous file with comments | « chrome/browser/net/net_log_temp_file_unittest.cc ('k') | chrome/installer/setup/uninstall.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698