DescriptionAdd isGenericFileHandler property to FileTask.
We are going to use this property from the JS side to know whether a task is generated from generic file handler or not.
Generic file handler is a file handler which can handle any type of file.
e.g.
These are generic handlers.
"types": ["*/*"]
"types": ["*"]
"types": ["*/*", "image/jpeg"]
"extensions": ["*"]
"extensions": ["*", "jpg"]
These are not generic handlers.
"types": ["image/jpeg"]
"types": ["image/*"]
"extensions": ["jpg"]
"extensions": ["jpg", "png"]
BUG=414566
TEST=out/Release/unit_tests --gtest_filter=FileManagerFileTasksTest.IsGenericFileHandler:FileManagerFileTasksComplexTest.FindFileHandlerTask_Generic
Committed: https://crrev.com/16fc34a9145b3f4f79cb4146bc7716ac4290d7d6
Cr-Commit-Position: refs/heads/master@{#302557}
Patch Set 1 #Patch Set 2 : Added test pattern. #
Total comments: 2
Patch Set 3 : Fixed comment. #
Total comments: 6
Patch Set 4 : Added unitteset for IsGenericFileHandler. #
Total comments: 2
Patch Set 5 : Added comment to idl file. #Patch Set 6 : Rebased. #
Messages
Total messages: 22 (6 generated)
|