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

Unified Diff: chrome/browser/chromeos/file_manager/filesystem_api_util.h

Issue 306073004: Rename "CheckWritable" to "PrepareForWritableApp" to reflect the actual behavior. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed review comments. Created 6 years, 7 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 | « apps/launcher.cc ('k') | chrome/browser/chromeos/file_manager/filesystem_api_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/file_manager/filesystem_api_util.h
diff --git a/chrome/browser/chromeos/file_manager/filesystem_api_util.h b/chrome/browser/chromeos/file_manager/filesystem_api_util.h
index 3ce7a6be15c05f482090b3af7a99f835762bbbf6..a0afb9f664d2f92c7330fd044492bd90778d30f6 100644
--- a/chrome/browser/chromeos/file_manager/filesystem_api_util.h
+++ b/chrome/browser/chromeos/file_manager/filesystem_api_util.h
@@ -40,9 +40,10 @@ void IsNonNativeLocalPathDirectory(
const base::FilePath& path,
const base::Callback<void(bool)>& callback);
-// Prepares a writable file at |path|, i.e., creates a file there if it didn't
-// exist, and asynchronously sends to |callback| whether it succeeded.
-void PrepareNonNativeLocalPathWritableFile(
+// Ensures a file exists at |path|, i.e., it does nothing if a file is already
+// present, or creates a file there if it isn't, and asynchronously sends to
+// |callback| whether it succeeded.
+void PrepareNonNativeLocalFileForWritableApp(
Profile* profile,
const base::FilePath& path,
const base::Callback<void(bool)>& callback);
« no previous file with comments | « apps/launcher.cc ('k') | chrome/browser/chromeos/file_manager/filesystem_api_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698