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

Unified Diff: content/renderer/gpu/gpu_benchmarking_extension.cc

Issue 19052005: Move PathIsWritable, DirectoryExists, ContentsEqual, and TextContentsEqual to the base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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: content/renderer/gpu/gpu_benchmarking_extension.cc
diff --git a/content/renderer/gpu/gpu_benchmarking_extension.cc b/content/renderer/gpu/gpu_benchmarking_extension.cc
index fbae5dab332ac3547bd97aa483223b903a93f2ee..43d557dec90e4f807b04a28bb2e6b46475591424 100644
--- a/content/renderer/gpu/gpu_benchmarking_extension.cc
+++ b/content/renderer/gpu/gpu_benchmarking_extension.cc
@@ -348,7 +348,7 @@ class GpuBenchmarkingWrapper : public v8::Extension {
base::FilePath dirpath(
base::FilePath::StringType(*dirname, *dirname + dirname.length()));
if (!file_util::CreateDirectory(dirpath) ||
- !file_util::PathIsWritable(dirpath)) {
+ !base::PathIsWritable(dirpath)) {
std::string msg("Path is not writable: ");
msg.append(dirpath.MaybeAsASCII());
v8::ThrowException(v8::Exception::Error(

Powered by Google App Engine
This is Rietveld 408576698