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

Unified Diff: chrome/browser/task_profiler/task_profiler_data_serializer.cc

Issue 184563006: Move WriteFile and WriteFileDescriptor from file_util to base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 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
Index: chrome/browser/task_profiler/task_profiler_data_serializer.cc
diff --git a/chrome/browser/task_profiler/task_profiler_data_serializer.cc b/chrome/browser/task_profiler/task_profiler_data_serializer.cc
index 8dc34f5ede238d0754bd9a04967da9660d22eea2..b52cc25bab72b56b4d57c98a20178d3cbfec2072 100644
--- a/chrome/browser/task_profiler/task_profiler_data_serializer.cc
+++ b/chrome/browser/task_profiler/task_profiler_data_serializer.cc
@@ -164,7 +164,7 @@ bool TaskProfilerDataSerializer::WriteToFile(const base::FilePath& path) {
serializer.Serialize(*root);
int data_size = static_cast<int>(output.size());
- return data_size == file_util::WriteFile(path, output.data(), data_size);
+ return data_size == base::WriteFile(path, output.data(), data_size);
}
} // namespace task_profiler

Powered by Google App Engine
This is Rietveld 408576698