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

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

Issue 2505993005: Move FS related mojo methods to ArcFileSystemInstance. (Closed)
Patch Set: Define version constants. Created 4 years, 1 month 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/intent_helper_util.h
diff --git a/chrome/browser/chromeos/arc/fileapi/intent_helper_util.h b/chrome/browser/chromeos/arc/fileapi/intent_helper_util.h
index 5f031cfcfcd10cd210944c36ba2ae8cedc07a48d..0944dd2c6c0baadc12b510461557688d5fe5704f 100644
--- a/chrome/browser/chromeos/arc/fileapi/intent_helper_util.h
+++ b/chrome/browser/chromeos/arc/fileapi/intent_helper_util.h
@@ -11,17 +11,20 @@
namespace arc {
namespace intent_helper_util {
-// Utility which posts a task to run IntentHelperInstance::GetFileSize.
+using GetFileSizeCallback =
+ mojom::IntentHelperInstance::GetFileSizeDeprecatedCallback;
+using OpenFileToReadCallback =
+ mojom::IntentHelperInstance::OpenFileToReadDeprecatedCallback;
+
+// Utility which posts a task to run GetFileSize.
// This function must be called on the IO thread.
-void GetFileSizeOnIOThread(
- const GURL& arc_url,
- const mojom::IntentHelperInstance::GetFileSizeCallback& callback);
+void GetFileSizeOnIOThread(const GURL& arc_url,
+ const GetFileSizeCallback& callback);
-// Utility which posts a task to run IntentHelperInstance::OpenFileToRead.
+// Utility which posts a task to run OpenFileToRead.
// This function must be called on the IO thread.
-void OpenFileToReadOnIOThread(
- const GURL& arc_url,
- const mojom::IntentHelperInstance::OpenFileToReadCallback& callback);
+void OpenFileToReadOnIOThread(const GURL& arc_url,
+ const OpenFileToReadCallback& callback);
} // namespace intent_helper_util
} // namespace arc

Powered by Google App Engine
This is Rietveld 408576698