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

Unified Diff: chrome/browser/chromeos/arc/fileapi/arc_file_system_operation_runner_util.h

Issue 2637163002: Defer ARC file system operations while ARC is booting. (Closed)
Patch Set: Addressed hidehiko's comments. Created 3 years, 11 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/arc/fileapi/arc_file_system_operation_runner_util.h
diff --git a/chrome/browser/chromeos/arc/fileapi/arc_file_system_instance_util.h b/chrome/browser/chromeos/arc/fileapi/arc_file_system_operation_runner_util.h
similarity index 69%
rename from chrome/browser/chromeos/arc/fileapi/arc_file_system_instance_util.h
rename to chrome/browser/chromeos/arc/fileapi/arc_file_system_operation_runner_util.h
index 0ebc74465d4109130e68fbf35e9e065ab22ee3ee..98740faa66260af6b9443bb88d49fdc2432ba3f7 100644
--- a/chrome/browser/chromeos/arc/fileapi/arc_file_system_instance_util.h
+++ b/chrome/browser/chromeos/arc/fileapi/arc_file_system_operation_runner_util.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_BROWSER_CHROMEOS_ARC_FILEAPI_ARC_FILE_SYSTEM_INSTANCE_UTIL_H_
-#define CHROME_BROWSER_CHROMEOS_ARC_FILEAPI_ARC_FILE_SYSTEM_INSTANCE_UTIL_H_
+#ifndef CHROME_BROWSER_CHROMEOS_ARC_FILEAPI_ARC_FILE_SYSTEM_OPERATION_RUNNER_UTIL_H_
+#define CHROME_BROWSER_CHROMEOS_ARC_FILEAPI_ARC_FILE_SYSTEM_OPERATION_RUNNER_UTIL_H_
#include <string>
@@ -12,7 +12,7 @@
class GURL;
namespace arc {
-namespace file_system_instance_util {
+namespace file_system_operation_runner_util {
using GetFileSizeCallback = mojom::FileSystemInstance::GetFileSizeCallback;
using OpenFileToReadCallback =
@@ -21,11 +21,11 @@ using GetDocumentCallback = mojom::FileSystemInstance::GetDocumentCallback;
using GetChildDocumentsCallback =
mojom::FileSystemInstance::GetChildDocumentsCallback;
-// Utility functions to post a task to run FileSystemInstance methods.
+// Utility functions to post a task to run ArcFileSystemOperationRunner methods.
// These functions must be called on the IO thread.
-void GetFileSizeOnIOThread(const GURL& arc_url,
+void GetFileSizeOnIOThread(const GURL& url,
const GetFileSizeCallback& callback);
-void OpenFileToReadOnIOThread(const GURL& arc_url,
+void OpenFileToReadOnIOThread(const GURL& url,
const OpenFileToReadCallback& callback);
void GetDocumentOnIOThread(const std::string& authority,
const std::string& document_id,
@@ -34,7 +34,7 @@ void GetChildDocumentsOnIOThread(const std::string& authority,
const std::string& parent_document_id,
const GetChildDocumentsCallback& callback);
-} // namespace file_system_instance_util
+} // namespace file_system_operation_runner_util
} // namespace arc
-#endif // CHROME_BROWSER_CHROMEOS_ARC_FILEAPI_ARC_FILE_SYSTEM_INSTANCE_UTIL_H_
+#endif // CHROME_BROWSER_CHROMEOS_ARC_FILEAPI_ARC_FILE_SYSTEM_OPERATION_RUNNER_UTIL_H_

Powered by Google App Engine
This is Rietveld 408576698