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

Unified Diff: chrome/browser/ui/ash/screenshot_taker.cc

Issue 93263002: Move some more file utils to the base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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/net/net_log_temp_file.cc ('k') | chrome/browser/web_applications/web_app_mac.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/ash/screenshot_taker.cc
diff --git a/chrome/browser/ui/ash/screenshot_taker.cc b/chrome/browser/ui/ash/screenshot_taker.cc
index f4b254f4b6abb8930ae1b8808f51fc54d11c4f0c..99dcfa580306591c587e858eb3442e61390f0ccf 100644
--- a/chrome/browser/ui/ash/screenshot_taker.cc
+++ b/chrome/browser/ui/ash/screenshot_taker.cc
@@ -365,7 +365,7 @@ bool GetScreenshotDirectory(base::FilePath* directory) {
ash::Shell::GetInstance()->delegate()->GetCurrentBrowserContext());
*directory = download_prefs->DownloadPath();
} else {
- if (!file_util::GetTempDir(directory)) {
+ if (!base::GetTempDir(directory)) {
LOG(ERROR) << "Failed to find temporary directory.";
return false;
}
« no previous file with comments | « chrome/browser/net/net_log_temp_file.cc ('k') | chrome/browser/web_applications/web_app_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698