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

Unified Diff: components/arc/common/intent_helper.mojom

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
« no previous file with comments | « components/arc/common/file_system.mojom ('k') | components/arc/test/fake_intent_helper_instance.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/arc/common/intent_helper.mojom
diff --git a/components/arc/common/intent_helper.mojom b/components/arc/common/intent_helper.mojom
index 1bc7c4558f9da9d7210c9826d79f714c69c34880..179d5ea2b64f89db0e8dd82162d7426f00267443 100644
--- a/components/arc/common/intent_helper.mojom
+++ b/components/arc/common/intent_helper.mojom
@@ -116,8 +116,8 @@ interface IntentHelperInstance {
// When multiple packages are set as preferred, the most recent setting wins.
[MinVersion=7] AddPreferredPackage@8(string package_name);
- // Asks the ContentResolver for the size of the file specified by the URL.
- [MinVersion=15] GetFileSize@11(string url) => (int64 size);
+ // DEPRECATED. Use FileSystemInstance.GetFileSize() instead.
+ [MinVersion=15] GetFileSizeDeprecated@11(string url) => (int64 size);
// Passes an intent to an activity.
[MinVersion=12] HandleIntent@10(IntentInfo intent, ActivityName activity);
@@ -134,9 +134,8 @@ interface IntentHelperInstance {
// Establishes full-duplex communication with the host.
Init@0(IntentHelperHost host_ptr);
- // Asks the ContentResolver to get an FD to read the file specified by the
- // URL.
- [MinVersion=15] OpenFileToRead@12(string url) => (handle? fd);
+ // DEPRECATED. Use FileSystemInstance.OpenFileToRead() instead.
+ [MinVersion=15] OpenFileToReadDeprecated@12(string url) => (handle? fd);
// Requests 48dp * 48dp icons of the |activities| suitable for the
// |scale_factor|. An array of icon data will be returned.
« no previous file with comments | « components/arc/common/file_system.mojom ('k') | components/arc/test/fake_intent_helper_instance.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698