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

Unified Diff: components/breakpad/tools/crash_service.cc

Issue 100573002: Move directory creation functions to 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
Index: components/breakpad/tools/crash_service.cc
diff --git a/components/breakpad/tools/crash_service.cc b/components/breakpad/tools/crash_service.cc
index c7ceb58ebe2b9bdb6e7e724c62048263ccb6da50..425337f4d3752e044f5dfabba181f32338725928 100644
--- a/components/breakpad/tools/crash_service.cc
+++ b/components/breakpad/tools/crash_service.cc
@@ -348,7 +348,7 @@ void CrashService::OnClientDumpRequest(void* context,
CrashMap::const_iterator it = map.find(L"breakpad-dump-location");
if (it != map.end()) {
base::FilePath alternate_dump_location = base::FilePath(it->second);
- file_util::CreateDirectoryW(alternate_dump_location);
+ base::CreateDirectoryW(alternate_dump_location);
alternate_dump_location = alternate_dump_location.Append(
dump_location.BaseName());
base::Move(dump_location, alternate_dump_location);

Powered by Google App Engine
This is Rietveld 408576698