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

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

Issue 300063006: Files.app: Let Files.app pass mutliple files to file handlers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased. 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
Index: chrome/browser/chromeos/file_manager/filesystem_api_util.cc
diff --git a/chrome/browser/chromeos/file_manager/filesystem_api_util.cc b/chrome/browser/chromeos/file_manager/filesystem_api_util.cc
index 7fdb66002178c5fa1319c855e2783a935b765469..102546e0676dc0f2df433f9f7b9b7ea8fc8b8b26 100644
--- a/chrome/browser/chromeos/file_manager/filesystem_api_util.cc
+++ b/chrome/browser/chromeos/file_manager/filesystem_api_util.cc
@@ -49,8 +49,7 @@ void CheckWritableAfterDriveCheck(const base::Callback<void(bool)>& callback,
} // namespace
-bool IsUnderSpecialPath(Profile* profile,
- const base::FilePath& path) {
+bool IsUnderSpecialPath(Profile* profile, const base::FilePath& path) {
DCHECK_CURRENTLY_ON(content::BrowserThread::UI);
// TODO(kinaba): support other types of volumes besides Drive.
@@ -79,17 +78,14 @@ void GetSpecialPathMimeType(
base::Bind(&GetMimeTypeAfterGetResourceEntry, callback));
}
-void IsSpecialPathDirectory(
- Profile* profile,
- const base::FilePath& path,
- const base::Callback<void(bool)>& callback) {
+void IsSpecialPathDirectory(Profile* profile,
+ const base::FilePath& path,
+ const base::Callback<void(bool)>& callback) {
DCHECK_CURRENTLY_ON(content::BrowserThread::UI);
// TODO(kinaba): support other types of volumes besides Drive.
drive::util::CheckDirectoryExists(
- profile,
- path,
- base::Bind(&CheckDirectoryAfterDriveCheck, callback));
+ profile, path, base::Bind(&CheckDirectoryAfterDriveCheck, callback));
}
void PrepareSpecialPathWritableFile(
@@ -100,9 +96,7 @@ void PrepareSpecialPathWritableFile(
// TODO(kinaba): support other types of volumes besides Drive.
drive::util::PrepareWritableFileAndRun(
- profile,
- path,
- base::Bind(&CheckWritableAfterDriveCheck, callback));
+ profile, path, base::Bind(&CheckWritableAfterDriveCheck, callback));
}
} // namespace util
« apps/launcher.cc ('K') | « chrome/browser/chromeos/file_manager/filesystem_api_util.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698