diff options
author | Autoroller <buildbot@webrtc.org> | 2018-06-08 04:43:38 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2018-06-08 12:11:51 +0000 |
commit | 0428d373059bb0b0d0984135eb132b18a882e00f (patch) | |
tree | 15ddacf663a33571927e5ad63766516db9b920a1 /third_party | |
parent | 6aa415e5e384d3c89546a519f05d84175e9d6380 (diff) | |
download | webrtc-0428d373059bb0b0d0984135eb132b18a882e00f.tar.gz |
Roll chromium_revision f9a24d5d6f..e9fcce491e (564886:565609)
Change log: https://chromium.googlesource.com/chromium/src/+log/f9a24d5d6f..e9fcce491e
Full diff: https://chromium.googlesource.com/chromium/src/+/f9a24d5d6f..e9fcce491e
Roll chromium third_party addc496eeb..b1a95b2d51
Change log: https://chromium.googlesource.com/chromium/src/third_party/+log/addc496eeb..b1a95b2d51
Changed dependencies:
* src/base: https://chromium.googlesource.com/chromium/src/base/+log/769dcfb902..6d59c6b0f4
* src/build: https://chromium.googlesource.com/chromium/src/build/+log/2574ebeaaf..472d5df73f
* src/ios: https://chromium.googlesource.com/chromium/src/ios/+log/044af8282c..2c466eefd8
* src/testing: https://chromium.googlesource.com/chromium/src/testing/+log/5ab6ab6e1c..4162fb6122
* src/third_party/boringssl/src: https://boringssl.googlesource.com/boringssl.git/+log/5601bdac1a..5267ef7b4a
* src/third_party/catapult: https://chromium.googlesource.com/catapult.git/+log/01f608bbcf..c9718952e5
* src/third_party/depot_tools: https://chromium.googlesource.com/chromium/tools/depot_tools.git/+log/e89dcf7dee..8e6f58c7e6
* src/third_party/libvpx/source/libvpx: https://chromium.googlesource.com/webm/libvpx.git/+log/3f7e6cc020..87386826a9
* src/tools: https://chromium.googlesource.com/chromium/src/tools/+log/8a16887980..1702b5a977
DEPS diff: https://chromium.googlesource.com/chromium/src/+/f9a24d5d6f..e9fcce491e/DEPS
No update to Clang.
TBR=buildbot@webrtc.org,marpan@webrtc.org,
BUG=None
CQ_INCLUDE_TRYBOTS=master.internal.tryserver.corp.webrtc:linux_internal
NO_AUTOIMPORT_DEPS_CHECK=true
Change-Id: I28be447ede8150e4030611bdf3d1e4dda49ea32a
Reviewed-on: https://webrtc-review.googlesource.com/82120
Reviewed-by: WebRTC Buildbot <buildbot@webrtc.org>
Commit-Queue: WebRTC Buildbot <buildbot@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23549}
Diffstat (limited to 'third_party')
-rw-r--r-- | third_party/boringssl/err_data.c | 606 | ||||
-rw-r--r-- | third_party/closure_compiler/externs/file_manager_private.js | 320 | ||||
-rw-r--r-- | third_party/closure_compiler/externs/file_system_provider.js | 647 | ||||
-rw-r--r-- | third_party/libvpx/README.chromium | 4 | ||||
-rw-r--r-- | third_party/libvpx/source/config/vpx_version.h | 6 | ||||
-rw-r--r-- | third_party/r8/README.chromium | 4 | ||||
-rw-r--r-- | third_party/r8/cipd.yaml | 2 |
7 files changed, 1212 insertions, 377 deletions
diff --git a/third_party/boringssl/err_data.c b/third_party/boringssl/err_data.c index 368d0bad1b..0d42af85d6 100644 --- a/third_party/boringssl/err_data.c +++ b/third_party/boringssl/err_data.c @@ -187,43 +187,43 @@ const uint32_t kOpenSSLReasonValues[] = { 0x28340c60, 0x283480ac, 0x283500ea, - 0x2c322d76, + 0x2c322dab, 0x2c3292a7, - 0x2c332d84, - 0x2c33ad96, - 0x2c342daa, - 0x2c34adbc, - 0x2c352dd7, - 0x2c35ade9, - 0x2c362dfc, + 0x2c332db9, + 0x2c33adcb, + 0x2c342ddf, + 0x2c34adf1, + 0x2c352e0c, + 0x2c35ae1e, + 0x2c362e31, 0x2c36832d, - 0x2c372e09, - 0x2c37ae1b, - 0x2c382e40, - 0x2c38ae57, - 0x2c392e65, - 0x2c39ae75, - 0x2c3a2e87, - 0x2c3aae9b, - 0x2c3b2eac, - 0x2c3baecb, + 0x2c372e3e, + 0x2c37ae50, + 0x2c382e75, + 0x2c38ae8c, + 0x2c392e9a, + 0x2c39aeaa, + 0x2c3a2ebc, + 0x2c3aaed0, + 0x2c3b2ee1, + 0x2c3baf00, 0x2c3c12b9, 0x2c3c92cf, - 0x2c3d2edf, + 0x2c3d2f14, 0x2c3d92e8, - 0x2c3e2efc, - 0x2c3eaf0a, - 0x2c3f2f22, - 0x2c3faf3a, - 0x2c402f47, + 0x2c3e2f31, + 0x2c3eaf3f, + 0x2c3f2f57, + 0x2c3faf6f, + 0x2c402f7c, 0x2c4091ba, - 0x2c412f58, - 0x2c41af6b, + 0x2c412f8d, + 0x2c41afa0, 0x2c421180, - 0x2c42af7c, + 0x2c42afb1, 0x2c430722, - 0x2c43aebd, - 0x2c442e2e, + 0x2c43aef2, + 0x2c442e63, 0x30320000, 0x30328015, 0x3033001f, @@ -358,228 +358,230 @@ const uint32_t kOpenSSLReasonValues[] = { 0x3c418d54, 0x3c420e60, 0x3c428dea, - 0x40321913, - 0x40329929, - 0x40331957, - 0x40339961, - 0x40341978, - 0x40349996, - 0x403519a6, - 0x403599b8, - 0x403619c5, - 0x403699d1, - 0x403719e6, - 0x403799f8, - 0x40381a03, - 0x40389a15, + 0x40321930, + 0x40329946, + 0x40331974, + 0x4033997e, + 0x40341995, + 0x403499b3, + 0x403519c3, + 0x403599d5, + 0x403619e2, + 0x403699ee, + 0x40371a03, + 0x40379a15, + 0x40381a20, + 0x40389a32, 0x40390efe, - 0x40399a25, - 0x403a1a38, - 0x403a9a59, - 0x403b1a6a, - 0x403b9a7a, + 0x40399a42, + 0x403a1a55, + 0x403a9a76, + 0x403b1a87, + 0x403b9a97, 0x403c0064, 0x403c8083, - 0x403d1afe, - 0x403d9b14, - 0x403e1b23, - 0x403e9b5b, - 0x403f1b75, - 0x403f9b83, - 0x40401b98, - 0x40409bac, - 0x40411bc9, - 0x40419be4, - 0x40421bfd, - 0x40429c10, - 0x40431c24, - 0x40439c3c, - 0x40441c53, + 0x403d1b1b, + 0x403d9b31, + 0x403e1b40, + 0x403e9b78, + 0x403f1b92, + 0x403f9ba0, + 0x40401bb5, + 0x40409bc9, + 0x40411be6, + 0x40419c01, + 0x40421c1a, + 0x40429c2d, + 0x40431c41, + 0x40439c59, + 0x40441c70, 0x404480ac, - 0x40451c68, - 0x40459c7a, - 0x40461c9e, - 0x40469cbe, - 0x40471ccc, - 0x40479cf3, - 0x40481d46, - 0x40489d79, - 0x40491d90, - 0x40499daa, - 0x404a1dc1, - 0x404a9ddf, - 0x404b1df7, - 0x404b9e0e, - 0x404c1e24, - 0x404c9e36, - 0x404d1e57, - 0x404d9e90, - 0x404e1ea4, - 0x404e9eb1, - 0x404f1ede, - 0x404f9f07, - 0x40501f42, - 0x40509f56, - 0x40511f71, - 0x40521f81, - 0x40529fa5, - 0x40531fbd, - 0x40539fd0, - 0x40541fe5, - 0x4054a008, - 0x40552016, - 0x4055a053, - 0x40562060, - 0x4056a079, - 0x40572091, - 0x4057a0a4, - 0x405820b9, - 0x4058a0e0, - 0x4059210f, - 0x4059a13c, - 0x405a2150, - 0x405aa160, - 0x405b2178, - 0x405ba189, - 0x405c219c, - 0x405ca1db, - 0x405d21e8, - 0x405da20d, - 0x405e224b, + 0x40451c85, + 0x40459c97, + 0x40461cbb, + 0x40469cdb, + 0x40471ce9, + 0x40479d10, + 0x40481d63, + 0x40489d96, + 0x40491dad, + 0x40499dc7, + 0x404a1dde, + 0x404a9dfc, + 0x404b1e14, + 0x404b9e2b, + 0x404c1e41, + 0x404c9e53, + 0x404d1e74, + 0x404d9ead, + 0x404e1ec1, + 0x404e9ece, + 0x404f1efb, + 0x404f9f24, + 0x40501f5f, + 0x40509f73, + 0x40511f8e, + 0x40521f9e, + 0x40529fc2, + 0x40531fda, + 0x40539fed, + 0x40542002, + 0x4054a025, + 0x40552033, + 0x4055a070, + 0x4056207d, + 0x4056a096, + 0x405720ae, + 0x4057a0c1, + 0x405820d6, + 0x4058a0fd, + 0x4059212c, + 0x4059a159, + 0x405a216d, + 0x405aa17d, + 0x405b2195, + 0x405ba1a6, + 0x405c21b9, + 0x405ca1f8, + 0x405d2205, + 0x405da22a, + 0x405e2268, 0x405e8ab3, - 0x405f226c, - 0x405fa279, - 0x40602287, - 0x4060a2a9, - 0x4061230a, - 0x4061a342, - 0x40622359, - 0x4062a36a, - 0x4063237b, - 0x4063a390, - 0x406423a7, - 0x4064a3d3, - 0x406523ee, - 0x4065a405, - 0x4066241d, - 0x4066a447, - 0x40672472, - 0x4067a4b7, - 0x406824ff, - 0x4068a520, - 0x40692552, - 0x4069a580, - 0x406a25a1, - 0x406aa5c1, - 0x406b2749, - 0x406ba76c, - 0x406c2782, - 0x406ca9fd, - 0x406d2a2c, - 0x406daa54, - 0x406e2a82, - 0x406eaacf, - 0x406f2aee, - 0x406fab26, - 0x40702b39, - 0x4070ab56, + 0x405f2289, + 0x405fa296, + 0x406022a4, + 0x4060a2c6, + 0x40612327, + 0x4061a35f, + 0x40622376, + 0x4062a387, + 0x40632398, + 0x4063a3ad, + 0x406423c4, + 0x4064a3f0, + 0x4065240b, + 0x4065a422, + 0x4066243a, + 0x4066a464, + 0x4067248f, + 0x4067a4d4, + 0x4068251c, + 0x4068a53d, + 0x4069256f, + 0x4069a59d, + 0x406a25be, + 0x406aa5de, + 0x406b2766, + 0x406ba789, + 0x406c279f, + 0x406caa32, + 0x406d2a61, + 0x406daa89, + 0x406e2ab7, + 0x406eab04, + 0x406f2b23, + 0x406fab5b, + 0x40702b6e, + 0x4070ab8b, 0x40710802, - 0x4071ab68, - 0x40722b7b, - 0x4072ab94, - 0x40732bac, + 0x4071ab9d, + 0x40722bb0, + 0x4072abc9, + 0x40732be1, 0x407394b9, - 0x40742bc0, - 0x4074abda, - 0x40752beb, - 0x4075abff, - 0x40762c0d, + 0x40742bf5, + 0x4074ac0f, + 0x40752c20, + 0x4075ac34, + 0x40762c42, 0x4076927d, - 0x40772c32, - 0x4077ac54, - 0x40782c6f, - 0x4078aca8, - 0x40792cbf, - 0x4079acd5, - 0x407a2ce1, - 0x407aacf4, - 0x407b2d09, - 0x407bad1b, - 0x407c2d4c, - 0x407cad55, - 0x407d253b, - 0x407d9f17, - 0x407e2c84, - 0x407ea0f0, - 0x407f1ce0, - 0x407f9aa0, - 0x40801eee, - 0x40809d08, - 0x40811f93, - 0x40819ec8, - 0x40822a6d, - 0x40829a86, - 0x408320cb, - 0x4083a3b8, - 0x40841d1c, - 0x4084a128, - 0x408521ad, - 0x4085a2d1, - 0x4086222d, - 0x40869f31, - 0x40872ab3, - 0x4087a31f, - 0x40881ae7, - 0x4088a4ca, - 0x40891b36, - 0x40899ac3, - 0x408a27a2, + 0x40772c67, + 0x4077ac89, + 0x40782ca4, + 0x4078acdd, + 0x40792cf4, + 0x4079ad0a, + 0x407a2d16, + 0x407aad29, + 0x407b2d3e, + 0x407bad50, + 0x407c2d81, + 0x407cad8a, + 0x407d2558, + 0x407d9f34, + 0x407e2cb9, + 0x407ea10d, + 0x407f1cfd, + 0x407f9abd, + 0x40801f0b, + 0x40809d25, + 0x40811fb0, + 0x40819ee5, + 0x40822aa2, + 0x40829aa3, + 0x408320e8, + 0x4083a3d5, + 0x40841d39, + 0x4084a145, + 0x408521ca, + 0x4085a2ee, + 0x4086224a, + 0x40869f4e, + 0x40872ae8, + 0x4087a33c, + 0x40881b04, + 0x4088a4e7, + 0x40891b53, + 0x40899ae0, + 0x408a27d7, 0x408a98d1, - 0x408b2d30, - 0x408bab03, - 0x408c21bd, + 0x408b2d65, + 0x408bab38, + 0x408c21da, 0x408c98ed, - 0x408d1d5f, - 0x408d9d30, - 0x408e1e79, - 0x408ea033, - 0x408f24de, - 0x408fa2ed, - 0x40902493, - 0x4090a1ff, - 0x41f42674, - 0x41f92706, - 0x41fe25f9, - 0x41fea7ee, - 0x41ff28df, - 0x4203268d, - 0x420826af, - 0x4208a6eb, - 0x420925dd, - 0x4209a725, - 0x420a2634, - 0x420aa614, - 0x420b2654, - 0x420ba6cd, - 0x420c28fb, - 0x420ca7bb, - 0x420d27d5, - 0x420da80c, - 0x42122826, - 0x421728c2, - 0x4217a868, - 0x421c288a, - 0x421f2845, - 0x42212912, - 0x422628a5, - 0x422b29e1, - 0x422ba98f, - 0x422c29c9, - 0x422ca94e, - 0x422d292d, - 0x422da9ae, - 0x422e2974, - 0x422eaa9a, + 0x408d1d7c, + 0x408d9d4d, + 0x408e1e96, + 0x408ea050, + 0x408f24fb, + 0x408fa30a, + 0x409024b0, + 0x4090a21c, + 0x409127bf, + 0x40919913, + 0x41f42691, + 0x41f92723, + 0x41fe2616, + 0x41fea823, + 0x41ff2914, + 0x420326aa, + 0x420826cc, + 0x4208a708, + 0x420925fa, + 0x4209a742, + 0x420a2651, + 0x420aa631, + 0x420b2671, + 0x420ba6ea, + 0x420c2930, + 0x420ca7f0, + 0x420d280a, + 0x420da841, + 0x4212285b, + 0x421728f7, + 0x4217a89d, + 0x421c28bf, + 0x421f287a, + 0x42212947, + 0x422628da, + 0x422b2a16, + 0x422ba9c4, + 0x422c29fe, + 0x422ca983, + 0x422d2962, + 0x422da9e3, + 0x422e29a9, + 0x422eaacf, 0x4432072d, 0x4432873c, 0x44330748, @@ -634,69 +636,69 @@ const uint32_t kOpenSSLReasonValues[] = { 0x4c411516, 0x4c419399, 0x4c421502, - 0x50322f8e, - 0x5032af9d, - 0x50332fa8, - 0x5033afb8, - 0x50342fd1, - 0x5034afeb, - 0x50352ff9, - 0x5035b00f, - 0x50363021, - 0x5036b037, - 0x50373050, - 0x5037b063, - 0x5038307b, - 0x5038b08c, - 0x503930a1, - 0x5039b0b5, - 0x503a30d5, - 0x503ab0eb, - 0x503b3103, - 0x503bb115, - 0x503c3131, - 0x503cb148, - 0x503d3161, - 0x503db177, - 0x503e3184, - 0x503eb19a, - 0x503f31ac, + 0x50322fc3, + 0x5032afd2, + 0x50332fdd, + 0x5033afed, + 0x50343006, + 0x5034b020, + 0x5035302e, + 0x5035b044, + 0x50363056, + 0x5036b06c, + 0x50373085, + 0x5037b098, + 0x503830b0, + 0x5038b0c1, + 0x503930d6, + 0x5039b0ea, + 0x503a310a, + 0x503ab120, + 0x503b3138, + 0x503bb14a, + 0x503c3166, + 0x503cb17d, + 0x503d3196, + 0x503db1ac, + 0x503e31b9, + 0x503eb1cf, + 0x503f31e1, 0x503f837b, - 0x504031bf, - 0x5040b1cf, - 0x504131e9, - 0x5041b1f8, - 0x50423212, - 0x5042b22f, - 0x5043323f, - 0x5043b24f, - 0x5044325e, + 0x504031f4, + 0x5040b204, + 0x5041321e, + 0x5041b22d, + 0x50423247, + 0x5042b264, + 0x50433274, + 0x5043b284, + 0x50443293, 0x50448431, - 0x50453272, - 0x5045b290, - 0x504632a3, - 0x5046b2b9, - 0x504732cb, - 0x5047b2e0, - 0x50483306, - 0x5048b314, - 0x50493327, - 0x5049b33c, - 0x504a3352, - 0x504ab362, - 0x504b3382, - 0x504bb395, - 0x504c33b8, - 0x504cb3e6, - 0x504d33f8, - 0x504db415, - 0x504e3430, - 0x504eb44c, - 0x504f345e, - 0x504fb475, - 0x50503484, + 0x504532a7, + 0x5045b2c5, + 0x504632d8, + 0x5046b2ee, + 0x50473300, + 0x5047b315, + 0x5048333b, + 0x5048b349, + 0x5049335c, + 0x5049b371, + 0x504a3387, + 0x504ab397, + 0x504b33b7, + 0x504bb3ca, + 0x504c33ed, + 0x504cb41b, + 0x504d342d, + 0x504db44a, + 0x504e3465, + 0x504eb481, + 0x504f3493, + 0x504fb4aa, + 0x505034b9, 0x505086f1, - 0x50513497, + 0x505134cc, 0x58320f3c, 0x68320efe, 0x68328c6c, @@ -1067,6 +1069,7 @@ const char kOpenSSLReasonStringData[] = "WRONG_SIGNATURE_LENGTH\0" "ALPN_MISMATCH_ON_EARLY_DATA\0" "APPLICATION_DATA_INSTEAD_OF_HANDSHAKE\0" + "APPLICATION_DATA_ON_SHUTDOWN\0" "APP_DATA_IN_HANDSHAKE\0" "ATTEMPT_TO_REUSE_SESSION_IN_DIFFERENT_CONTEXT\0" "BAD_ALERT\0" @@ -1222,6 +1225,7 @@ const char kOpenSSLReasonStringData[] = "SSL_CTX_HAS_NO_DEFAULT_SSL_VERSION\0" "SSL_HANDSHAKE_FAILURE\0" "SSL_SESSION_ID_CONTEXT_TOO_LONG\0" + "SSL_SESSION_ID_TOO_LONG\0" "TICKET_ENCRYPTION_FAILED\0" "TLSV1_ALERT_ACCESS_DENIED\0" "TLSV1_ALERT_DECODE_ERROR\0" diff --git a/third_party/closure_compiler/externs/file_manager_private.js b/third_party/closure_compiler/externs/file_manager_private.js index a87cb1b022..ad527c3ebc 100644 --- a/third_party/closure_compiler/externs/file_manager_private.js +++ b/third_party/closure_compiler/externs/file_manager_private.js @@ -10,6 +10,197 @@ chrome.fileManagerPrivate = {}; /** @enum {string} */ +chrome.fileManagerPrivate.VolumeType = { + DRIVE: 'drive', + DOWNLOADS: 'downloads', + REMOVABLE: 'removable', + ARCHIVE: 'archive', + PROVIDED: 'provided', + MTP: 'mtp', + MEDIA_VIEW: 'media_view', + CROSTINI: 'crostini', + ANDROID_FILES: 'android_files', + TESTING: 'testing', +}; + +/** @enum {string} */ +chrome.fileManagerPrivate.DeviceType = { + USB: 'usb', + SD: 'sd', + OPTICAL: 'optical', + MOBILE: 'mobile', + UNKNOWN: 'unknown', +}; + +/** @enum {string} */ +chrome.fileManagerPrivate.MountCondition = { + UNKNOWN: 'unknown', + UNSUPPORTED: 'unsupported', +}; + +/** @enum {string} */ +chrome.fileManagerPrivate.MountContext = { + USER: 'user', + AUTO: 'auto', +}; + +/** @enum {string} */ +chrome.fileManagerPrivate.MountCompletedEventType = { + MOUNT: 'mount', + UNMOUNT: 'unmount', +}; + +/** @enum {string} */ +chrome.fileManagerPrivate.MountCompletedStatus = { + SUCCESS: 'success', + ERROR_UNKNOWN: 'error_unknown', + ERROR_INTERNAL: 'error_internal', + ERROR_INVALID_ARGUMENT: 'error_invalid_argument', + ERROR_INVALID_PATH: 'error_invalid_path', + ERROR_PATH_ALREADY_MOUNTED: 'error_path_already_mounted', + ERROR_PATH_NOT_MOUNTED: 'error_path_not_mounted', + ERROR_DIRECTORY_CREATION_FAILED: 'error_directory_creation_failed', + ERROR_INVALID_MOUNT_OPTIONS: 'error_invalid_mount_options', + ERROR_INVALID_UNMOUNT_OPTIONS: 'error_invalid_unmount_options', + ERROR_INSUFFICIENT_PERMISSIONS: 'error_insufficient_permissions', + ERROR_MOUNT_PROGRAM_NOT_FOUND: 'error_mount_program_not_found', + ERROR_MOUNT_PROGRAM_FAILED: 'error_mount_program_failed', + ERROR_INVALID_DEVICE_PATH: 'error_invalid_device_path', + ERROR_UNKNOWN_FILESYSTEM: 'error_unknown_filesystem', + ERROR_UNSUPPORTED_FILESYSTEM: 'error_unsupported_filesystem', + ERROR_INVALID_ARCHIVE: 'error_invalid_archive', + ERROR_AUTHENTICATION: 'error_authentication', + ERROR_PATH_UNMOUNTED: 'error_path_unmounted', +}; + +/** @enum {string} */ +chrome.fileManagerPrivate.TransferState = { + IN_PROGRESS: 'in_progress', + COMPLETED: 'completed', + FAILED: 'failed', +}; + +/** @enum {string} */ +chrome.fileManagerPrivate.CopyProgressStatusType = { + BEGIN_COPY_ENTRY: 'begin_copy_entry', + END_COPY_ENTRY: 'end_copy_entry', + PROGRESS: 'progress', + SUCCESS: 'success', + ERROR: 'error', +}; + +/** @enum {string} */ +chrome.fileManagerPrivate.FileWatchEventType = { + CHANGED: 'changed', + ERROR: 'error', +}; + +/** @enum {string} */ +chrome.fileManagerPrivate.ChangeType = { + ADD_OR_UPDATE: 'add_or_update', + DELETE: 'delete', +}; + +/** @enum {string} */ +chrome.fileManagerPrivate.SearchType = { + EXCLUDE_DIRECTORIES: 'EXCLUDE_DIRECTORIES', + SHARED_WITH_ME: 'SHARED_WITH_ME', + OFFLINE: 'OFFLINE', + ALL: 'ALL', +}; + +/** @enum {string} */ +chrome.fileManagerPrivate.ZoomOperationType = { + IN: 'in', + OUT: 'out', + RESET: 'reset', +}; + +/** @enum {string} */ +chrome.fileManagerPrivate.InspectionType = { + NORMAL: 'normal', + CONSOLE: 'console', + ELEMENT: 'element', + BACKGROUND: 'background', +}; + +/** @enum {string} */ +chrome.fileManagerPrivate.DeviceEventType = { + DISABLED: 'disabled', + REMOVED: 'removed', + HARD_UNPLUGGED: 'hard_unplugged', + FORMAT_START: 'format_start', + FORMAT_SUCCESS: 'format_success', + FORMAT_FAIL: 'format_fail', + RENAME_START: 'rename_start', + RENAME_SUCCESS: 'rename_success', + RENAME_FAIL: 'rename_fail', +}; + +/** @enum {string} */ +chrome.fileManagerPrivate.DriveSyncErrorType = { + DELETE_WITHOUT_PERMISSION: 'delete_without_permission', + SERVICE_UNAVAILABLE: 'service_unavailable', + NO_SERVER_SPACE: 'no_server_space', + MISC: 'misc', +}; + +/** @enum {string} */ +chrome.fileManagerPrivate.TaskResult = { + OPENED: 'opened', + MESSAGE_SENT: 'message_sent', + FAILED: 'failed', + EMPTY: 'empty', +}; + +/** @enum {string} */ +chrome.fileManagerPrivate.DriveShareType = { + CAN_EDIT: 'can_edit', + CAN_COMMENT: 'can_comment', + CAN_VIEW: 'can_view', +}; + +/** @enum {string} */ +chrome.fileManagerPrivate.EntryPropertyName = { + SIZE: 'size', + MODIFICATION_TIME: 'modificationTime', + MODIFICATION_BY_ME_TIME: 'modificationByMeTime', + THUMBNAIL_URL: 'thumbnailUrl', + CROPPED_THUMBNAIL_URL: 'croppedThumbnailUrl', + IMAGE_WIDTH: 'imageWidth', + IMAGE_HEIGHT: 'imageHeight', + IMAGE_ROTATION: 'imageRotation', + PINNED: 'pinned', + PRESENT: 'present', + HOSTED: 'hosted', + AVAILABLE_OFFLINE: 'availableOffline', + AVAILABLE_WHEN_METERED: 'availableWhenMetered', + DIRTY: 'dirty', + CUSTOM_ICON_URL: 'customIconUrl', + CONTENT_MIME_TYPE: 'contentMimeType', + SHARED_WITH_ME: 'sharedWithMe', + SHARED: 'shared', + STARRED: 'starred', + EXTERNAL_FILE_URL: 'externalFileUrl', + ALTERNATE_URL: 'alternateUrl', + SHARE_URL: 'shareUrl', +}; + +/** @enum {string} */ +chrome.fileManagerPrivate.EntryTagVisibility = { + PRIVATE: 'private', + PUBLIC: 'public', +}; + +/** @enum {string} */ +chrome.fileManagerPrivate.Source = { + FILE: 'file', + DEVICE: 'device', + NETWORK: 'network', + SYSTEM: 'system', +}; + +/** @enum {string} */ chrome.fileManagerPrivate.Verb = { OPEN_WITH: 'open_with', ADD_TO: 'add_to', @@ -28,11 +219,13 @@ chrome.fileManagerPrivate.SourceRestriction = { * @typedef {{ * taskId: string, * title: string, + * verb: (!chrome.fileManagerPrivate.Verb|undefined), * iconUrl: string, - * isDefault: boolean + * isDefault: boolean, + * isGenericFileHandler: boolean * }} */ -var FileTask; +chrome.fileManagerPrivate.FileTask; /** * @typedef {{ @@ -54,12 +247,13 @@ var FileTask; * contentMimeType: (string|undefined), * sharedWithMe: (boolean|undefined), * shared: (boolean|undefined), + * starred: (boolean|undefined), * externalFileUrl: (string|undefined), * alternateUrl: (string|undefined), * shareUrl: (string|undefined) * }} */ -var EntryProperties; +chrome.fileManagerPrivate.EntryProperties; /** * @typedef {{ @@ -67,7 +261,7 @@ var EntryProperties; * remainingSize: number * }} */ -var MountPointSizeStats; +chrome.fileManagerPrivate.MountPointSizeStats; /** * @typedef {{ @@ -76,7 +270,7 @@ var MountPointSizeStats; * isCurrentProfile: boolean * }} */ -var ProfileInfo; +chrome.fileManagerPrivate.ProfileInfo; /** * @typedef {{ @@ -84,18 +278,19 @@ var ProfileInfo; * icon32x32Url: (string|undefined) * }} */ -var IconSet; +chrome.fileManagerPrivate.IconSet; /** * @typedef {{ * volumeId: string, * fileSystemId: (string|undefined), - * source: string, + * providerId: (string|undefined), + * source: !chrome.fileManagerPrivate.Source, * volumeLabel: (string|undefined), - * profile: ProfileInfo, + * profile: !chrome.fileManagerPrivate.ProfileInfo, * sourcePath: (string|undefined), - * volumeType: string, - * deviceType: (string|undefined), + * volumeType: !chrome.fileManagerPrivate.VolumeType, + * deviceType: (!chrome.fileManagerPrivate.DeviceType|undefined), * devicePath: (string|undefined), * isParentDevice: (boolean|undefined), * isReadOnly: boolean, @@ -103,71 +298,71 @@ var IconSet; * hasMedia: boolean, * configurable: boolean, * watchable: boolean, - * mountCondition: (string|undefined), - * mountContext: (string|undefined), + * mountCondition: (!chrome.fileManagerPrivate.MountCondition|undefined), + * mountContext: (!chrome.fileManagerPrivate.MountContext|undefined), * diskFileSystemType: (string|undefined), - * iconSet: IconSet + * iconSet: !chrome.fileManagerPrivate.IconSet * }} */ -var VolumeMetadata; +chrome.fileManagerPrivate.VolumeMetadata; /** * @typedef {{ - * eventType: string, - * status: string, - * volumeMetadata: VolumeMetadata, + * eventType: !chrome.fileManagerPrivate.MountCompletedEventType, + * status: !chrome.fileManagerPrivate.MountCompletedStatus, + * volumeMetadata: !chrome.fileManagerPrivate.VolumeMetadata, * shouldNotify: boolean * }} */ -var MountCompletedEvent; +chrome.fileManagerPrivate.MountCompletedEvent; /** * @typedef {{ * fileUrl: string, - * transferState: string, + * transferState: !chrome.fileManagerPrivate.TransferState, * processed: number, * total: number, * num_total_jobs: number, * hideWhenZeroJobs: boolean * }} */ -var FileTransferStatus; +chrome.fileManagerPrivate.FileTransferStatus; /** * @typedef {{ - * type: string, + * type: !chrome.fileManagerPrivate.DriveSyncErrorType, * fileUrl: string * }} */ -var DriveSyncErrorEvent; +chrome.fileManagerPrivate.DriveSyncErrorEvent; /** * @typedef {{ - * type: string, + * type: !chrome.fileManagerPrivate.CopyProgressStatusType, * sourceUrl: (string|undefined), * destinationUrl: (string|undefined), * size: (number|undefined), * error: (string|undefined) * }} */ -var CopyProgressStatus; +chrome.fileManagerPrivate.CopyProgressStatus; /** * @typedef {{ * url: string, - * changes: Array + * changes: !Array<!chrome.fileManagerPrivate.ChangeType> * }} */ -var FileChange; +chrome.fileManagerPrivate.FileChange; /** * @typedef {{ - * eventType: string, + * eventType: !chrome.fileManagerPrivate.FileWatchEventType, * entry: Object, - * changedFiles: (Array|undefined) + * changedFiles: (!Array<!chrome.fileManagerPrivate.FileChange>|undefined) * }} */ -var FileWatchEvent; +chrome.fileManagerPrivate.FileWatchEvent; /** * @typedef {{ @@ -180,7 +375,7 @@ var FileWatchEvent; * timezone: string * }} */ -var Preferences; +chrome.fileManagerPrivate.Preferences; /** * @typedef {{ @@ -188,7 +383,7 @@ var Preferences; * hostedFilesDisabled: (boolean|undefined) * }} */ -var PreferencesChange; +chrome.fileManagerPrivate.PreferencesChange; /** * @typedef {{ @@ -196,7 +391,7 @@ var PreferencesChange; * nextFeed: string * }} */ -var SearchParams; +chrome.fileManagerPrivate.SearchParams; /** * @typedef {{ @@ -205,7 +400,7 @@ var SearchParams; * maxResults: number * }} */ -var SearchMetadataParams; +chrome.fileManagerPrivate.SearchMetadataParams; /** * @typedef {{ @@ -213,28 +408,29 @@ var SearchMetadataParams; * highlightedBaseName: string * }} */ -var SearchResult; +chrome.fileManagerPrivate.SearchResult; /** * @typedef {{ * type: string, - * reason: (string|undefined) + * reason: (string|undefined), + * hasCellularNetworkAccess: boolean * }} */ -var DriveConnectionState; +chrome.fileManagerPrivate.DriveConnectionState; /** * @typedef {{ - * type: string, + * type: !chrome.fileManagerPrivate.DeviceEventType, * devicePath: string * }} */ -var DeviceEvent; +chrome.fileManagerPrivate.DeviceEvent; /** * @typedef {{ * providerId: string, - * iconSet: IconSet, + * iconSet: !chrome.fileManagerPrivate.IconSet, * name: string, * configurable: boolean, * watchable: boolean, @@ -242,7 +438,7 @@ var DeviceEvent; * source: string * }} */ -var Provider; +chrome.fileManagerPrivate.Provider; /** * Logout the current user for navigating to the re-authentication screen for @@ -283,7 +479,7 @@ chrome.fileManagerPrivate.setDefaultTask = function(taskId, entries, mimeTypes, * Gets the list of tasks that can be performed over selected files. |entries| * Array of selected entries |callback| * @param {!Array<!Entry>} entries - * @param {function((!Array<!FileTask>|undefined))} callback |tasks| The list of + * @param {function((!Array<!chrome.fileManagerPrivate.FileTask>|undefined))} callback |tasks| The list of * matched file entries for this task. */ chrome.fileManagerPrivate.getFileTasks = function(entries, callback) {}; @@ -364,7 +560,7 @@ chrome.fileManagerPrivate.selectFile = function(selectedPath, index, forOpening, * |callback| * @param {!Array<!Entry>} entries * @param {!Array<string>} names - * @param {function((!Array<!EntryProperties>|undefined))} callback + * @param {function((!Array<!chrome.fileManagerPrivate.EntryProperties>|undefined))} callback * |entryProperties| A dictionary containing properties of the requested * entries. */ @@ -437,8 +633,9 @@ chrome.fileManagerPrivate.markCacheAsMounted = function( /** * Get the list of mounted volumes. |callback| - * @param {function((!Array<!VolumeMetadata>|undefined))} callback Callback with - * the list of VolumeMetadata representing mounted volumes. + * @param {function((!Array<!chrome.fileManagerPrivate.VolumeMetadata>|undefined))} callback Callback with + * the list of chrome.fileManagerPrivate.VolumeMetadata representing mounted + * volumes. */ chrome.fileManagerPrivate.getVolumeMetadataList = function(callback) {}; @@ -482,7 +679,7 @@ chrome.fileManagerPrivate.cancelCopy = function(copyId, callback) {}; * Retrieves total and remaining size of a mount point. |volumeId| ID of the * volume to be checked. |callback| * @param {string} volumeId - * @param {function((!MountPointSizeStats|undefined))} callback Name/value pairs + * @param {function((!chrome.fileManagerPrivate.MountPointSizeStats|undefined))} callback Name/value pairs * of size stats. Will be undefined if stats could not be determined. */ chrome.fileManagerPrivate.getSizeStats = function(volumeId, callback) {}; @@ -503,19 +700,19 @@ chrome.fileManagerPrivate.renameVolume = function(volumeId, newName) {}; /** * Retrieves file manager preferences. |callback| - * @param {function((!Preferences|undefined))} callback + * @param {function((!chrome.fileManagerPrivate.Preferences|undefined))} callback */ chrome.fileManagerPrivate.getPreferences = function(callback) {}; /** * Sets file manager preferences. |changeInfo| - * @param {PreferencesChange} changeInfo + * @param {chrome.fileManagerPrivate.PreferencesChange} changeInfo */ chrome.fileManagerPrivate.setPreferences = function(changeInfo) {}; /** * Performs drive content search. |searchParams| |callback| - * @param {SearchParams} searchParams + * @param {chrome.fileManagerPrivate.SearchParams} searchParams * @param {function((!Array<Entry>|undefined), (string|undefined))} callback * Entries and ID of the feed that contains next chunk of the search result. * Should be sent to the next searchDrive request to perform incremental search. @@ -524,8 +721,8 @@ chrome.fileManagerPrivate.searchDrive = function(searchParams, callback) {}; /** * Performs drive metadata search. |searchParams| |callback| - * @param {SearchMetadataParams} searchParams - * @param {function((!Array<!SearchResult>|undefined))} callback + * @param {chrome.fileManagerPrivate.SearchMetadataParams} searchParams + * @param {function((!Array<!chrome.fileManagerPrivate.SearchResult>|undefined))} callback */ chrome.fileManagerPrivate.searchDriveMetadata = function(searchParams, callback) {}; @@ -556,7 +753,7 @@ chrome.fileManagerPrivate.zipSelection = function(entries, parentEntry, /** * Retrieves the state of the current drive connection. |callback| - * @param {function((!DriveConnectionState|undefined))} callback + * @param {function((!chrome.fileManagerPrivate.DriveConnectionState|undefined))} callback */ chrome.fileManagerPrivate.getDriveConnectionState = function(callback) {}; @@ -619,7 +816,7 @@ chrome.fileManagerPrivate.requestDriveShare = function(entry, shareType, /** * Obtains a list of profiles that are logged-in. - * @param {function((!Array<!ProfileInfo>|undefined), (string|undefined), + * @param {function((!Array<!chrome.fileManagerPrivate.ProfileInfo>|undefined), (string|undefined), * (string|undefined))} callback Callback with list of profile information, * |runningProfile| ID of the profile that runs the application instance. * |showingProfile| ID of the profile that shows the application window. @@ -671,7 +868,7 @@ chrome.fileManagerPrivate.isPiexLoaderEnabled = function(callback) {}; /** * Returns list of available providers. - * @param {function((!Array<!Provider>|undefined))} callback + * @param {function((!Array<!chrome.fileManagerPrivate.Provider>|undefined))} callback */ chrome.fileManagerPrivate.getProviders = function(callback) {}; @@ -766,10 +963,10 @@ chrome.fileManagerPrivate.onDriveSyncError; /** @type {!ChromeEvent} */ chrome.fileManagerPrivate.onAppsUpdated; -/* The two declarations below (EntryAction, installWebstoreItem) don't have any - * corresponding entry in the file_manager_private.idl file. +/* The declaration below (EntryAction) doesn't have any corresponding entry in + * the file_manager_private.idl file. * - * TODO(nigeltao): delete them. + * TODO(nigeltao): delete it. */ /** @@ -779,14 +976,3 @@ chrome.fileManagerPrivate.onAppsUpdated; * }} */ var EntryAction; - -/** - * Requests to install a webstore item. |item_id| The id of the item to - * install. |silentInstallation| False to show installation prompt. True not to - * show. |callback| - * @param {string} itemId - * @param {boolean} silentInstallation - * @param {function()} callback Callback that does not take arguments. - */ -chrome.fileManagerPrivate.installWebstoreItem = function( - itemId, silentInstallation, callback) {}; diff --git a/third_party/closure_compiler/externs/file_system_provider.js b/third_party/closure_compiler/externs/file_system_provider.js new file mode 100644 index 0000000000..43b2afd334 --- /dev/null +++ b/third_party/closure_compiler/externs/file_system_provider.js @@ -0,0 +1,647 @@ +// Copyright 2018 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +// This file was generated by: +// tools/json_schema_compiler/compiler.py. +// NOTE: The format of types has changed. 'FooType' is now +// 'chrome.fileSystemProvider.FooType'. +// Please run the closure compiler before committing changes. +// See https://chromium.googlesource.com/chromium/src/+/master/docs/closure_compilation.md + +/** @fileoverview Externs generated from namespace: fileSystemProvider */ + +/** + * @const + */ +chrome.fileSystemProvider = {}; + +/** + * @enum {string} + * @see https://developer.chrome.com/extensions/fileSystemProvider#type-ProviderError + */ +chrome.fileSystemProvider.ProviderError = { + OK: 'OK', + FAILED: 'FAILED', + IN_USE: 'IN_USE', + EXISTS: 'EXISTS', + NOT_FOUND: 'NOT_FOUND', + ACCESS_DENIED: 'ACCESS_DENIED', + TOO_MANY_OPENED: 'TOO_MANY_OPENED', + NO_MEMORY: 'NO_MEMORY', + NO_SPACE: 'NO_SPACE', + NOT_A_DIRECTORY: 'NOT_A_DIRECTORY', + INVALID_OPERATION: 'INVALID_OPERATION', + SECURITY: 'SECURITY', + ABORT: 'ABORT', + NOT_A_FILE: 'NOT_A_FILE', + NOT_EMPTY: 'NOT_EMPTY', + INVALID_URL: 'INVALID_URL', + IO: 'IO', +}; + +/** + * @enum {string} + * @see https://developer.chrome.com/extensions/fileSystemProvider#type-OpenFileMode + */ +chrome.fileSystemProvider.OpenFileMode = { + READ: 'READ', + WRITE: 'WRITE', +}; + +/** + * @enum {string} + * @see https://developer.chrome.com/extensions/fileSystemProvider#type-ChangeType + */ +chrome.fileSystemProvider.ChangeType = { + CHANGED: 'CHANGED', + DELETED: 'DELETED', +}; + +/** + * @enum {string} + * @see https://developer.chrome.com/extensions/fileSystemProvider#type-CommonActionId + */ +chrome.fileSystemProvider.CommonActionId = { + SAVE_FOR_OFFLINE: 'SAVE_FOR_OFFLINE', + OFFLINE_NOT_NECESSARY: 'OFFLINE_NOT_NECESSARY', + SHARE: 'SHARE', +}; + +/** + * @typedef {{ + * isDirectory: (boolean|undefined), + * name: (string|undefined), + * size: (number|undefined), + * modificationTime: (Object|undefined), + * mimeType: (string|undefined), + * thumbnail: (string|undefined) + * }} + * @see https://developer.chrome.com/extensions/fileSystemProvider#type-EntryMetadata + */ +chrome.fileSystemProvider.EntryMetadata; + +/** + * @typedef {{ + * entryPath: string, + * recursive: boolean, + * lastTag: (string|undefined) + * }} + * @see https://developer.chrome.com/extensions/fileSystemProvider#type-Watcher + */ +chrome.fileSystemProvider.Watcher; + +/** + * @typedef {{ + * openRequestId: number, + * filePath: string, + * mode: !chrome.fileSystemProvider.OpenFileMode + * }} + * @see https://developer.chrome.com/extensions/fileSystemProvider#type-OpenedFile + */ +chrome.fileSystemProvider.OpenedFile; + +/** + * @typedef {{ + * fileSystemId: string, + * displayName: string, + * writable: boolean, + * openedFilesLimit: number, + * openedFiles: !Array<!chrome.fileSystemProvider.OpenedFile>, + * supportsNotifyTag: (boolean|undefined), + * watchers: !Array<!chrome.fileSystemProvider.Watcher> + * }} + * @see https://developer.chrome.com/extensions/fileSystemProvider#type-FileSystemInfo + */ +chrome.fileSystemProvider.FileSystemInfo; + +/** + * @typedef {{ + * fileSystemId: string, + * displayName: string, + * writable: (boolean|undefined), + * openedFilesLimit: (number|undefined), + * supportsNotifyTag: (boolean|undefined), + * persistent: (boolean|undefined) + * }} + * @see https://developer.chrome.com/extensions/fileSystemProvider#type-MountOptions + */ +chrome.fileSystemProvider.MountOptions; + +/** + * @typedef {{ + * fileSystemId: string + * }} + * @see https://developer.chrome.com/extensions/fileSystemProvider#type-UnmountOptions + */ +chrome.fileSystemProvider.UnmountOptions; + +/** + * @typedef {{ + * fileSystemId: string, + * requestId: number + * }} + * @see https://developer.chrome.com/extensions/fileSystemProvider#type-UnmountRequestedOptions + */ +chrome.fileSystemProvider.UnmountRequestedOptions; + +/** + * @typedef {{ + * fileSystemId: string, + * requestId: number, + * entryPath: string, + * isDirectory: boolean, + * name: boolean, + * size: boolean, + * modificationTime: boolean, + * mimeType: boolean, + * thumbnail: boolean + * }} + * @see https://developer.chrome.com/extensions/fileSystemProvider#type-GetMetadataRequestedOptions + */ +chrome.fileSystemProvider.GetMetadataRequestedOptions; + +/** + * @typedef {{ + * fileSystemId: string, + * requestId: number, + * entryPaths: !Array<string> + * }} + * @see https://developer.chrome.com/extensions/fileSystemProvider#type-GetActionsRequestedOptions + */ +chrome.fileSystemProvider.GetActionsRequestedOptions; + +/** + * @typedef {{ + * fileSystemId: string, + * requestId: number, + * directoryPath: string, + * isDirectory: boolean, + * name: boolean, + * size: boolean, + * modificationTime: boolean, + * mimeType: boolean, + * thumbnail: boolean + * }} + * @see https://developer.chrome.com/extensions/fileSystemProvider#type-ReadDirectoryRequestedOptions + */ +chrome.fileSystemProvider.ReadDirectoryRequestedOptions; + +/** + * @typedef {{ + * fileSystemId: string, + * requestId: number, + * filePath: string, + * mode: !chrome.fileSystemProvider.OpenFileMode + * }} + * @see https://developer.chrome.com/extensions/fileSystemProvider#type-OpenFileRequestedOptions + */ +chrome.fileSystemProvider.OpenFileRequestedOptions; + +/** + * @typedef {{ + * fileSystemId: string, + * requestId: number, + * openRequestId: number + * }} + * @see https://developer.chrome.com/extensions/fileSystemProvider#type-CloseFileRequestedOptions + */ +chrome.fileSystemProvider.CloseFileRequestedOptions; + +/** + * @typedef {{ + * fileSystemId: string, + * requestId: number, + * openRequestId: number, + * offset: number, + * length: number + * }} + * @see https://developer.chrome.com/extensions/fileSystemProvider#type-ReadFileRequestedOptions + */ +chrome.fileSystemProvider.ReadFileRequestedOptions; + +/** + * @typedef {{ + * fileSystemId: string, + * requestId: number, + * directoryPath: string, + * recursive: boolean + * }} + * @see https://developer.chrome.com/extensions/fileSystemProvider#type-CreateDirectoryRequestedOptions + */ +chrome.fileSystemProvider.CreateDirectoryRequestedOptions; + +/** + * @typedef {{ + * fileSystemId: string, + * requestId: number, + * entryPath: string, + * recursive: boolean + * }} + * @see https://developer.chrome.com/extensions/fileSystemProvider#type-DeleteEntryRequestedOptions + */ +chrome.fileSystemProvider.DeleteEntryRequestedOptions; + +/** + * @typedef {{ + * fileSystemId: string, + * requestId: number, + * filePath: string + * }} + * @see https://developer.chrome.com/extensions/fileSystemProvider#type-CreateFileRequestedOptions + */ +chrome.fileSystemProvider.CreateFileRequestedOptions; + +/** + * @typedef {{ + * fileSystemId: string, + * requestId: number, + * sourcePath: string, + * targetPath: string + * }} + * @see https://developer.chrome.com/extensions/fileSystemProvider#type-CopyEntryRequestedOptions + */ +chrome.fileSystemProvider.CopyEntryRequestedOptions; + +/** + * @typedef {{ + * fileSystemId: string, + * requestId: number, + * sourcePath: string, + * targetPath: string + * }} + * @see https://developer.chrome.com/extensions/fileSystemProvider#type-MoveEntryRequestedOptions + */ +chrome.fileSystemProvider.MoveEntryRequestedOptions; + +/** + * @typedef {{ + * fileSystemId: string, + * requestId: number, + * filePath: string, + * length: number + * }} + * @see https://developer.chrome.com/extensions/fileSystemProvider#type-TruncateRequestedOptions + */ +chrome.fileSystemProvider.TruncateRequestedOptions; + +/** + * @typedef {{ + * fileSystemId: string, + * requestId: number, + * openRequestId: number, + * offset: number, + * data: ArrayBuffer + * }} + * @see https://developer.chrome.com/extensions/fileSystemProvider#type-WriteFileRequestedOptions + */ +chrome.fileSystemProvider.WriteFileRequestedOptions; + +/** + * @typedef {{ + * fileSystemId: string, + * requestId: number, + * operationRequestId: number + * }} + * @see https://developer.chrome.com/extensions/fileSystemProvider#type-AbortRequestedOptions + */ +chrome.fileSystemProvider.AbortRequestedOptions; + +/** + * @typedef {{ + * fileSystemId: string, + * requestId: number, + * entryPath: string, + * recursive: boolean + * }} + * @see https://developer.chrome.com/extensions/fileSystemProvider#type-AddWatcherRequestedOptions + */ +chrome.fileSystemProvider.AddWatcherRequestedOptions; + +/** + * @typedef {{ + * fileSystemId: string, + * requestId: number, + * entryPath: string, + * recursive: boolean + * }} + * @see https://developer.chrome.com/extensions/fileSystemProvider#type-RemoveWatcherRequestedOptions + */ +chrome.fileSystemProvider.RemoveWatcherRequestedOptions; + +/** + * @typedef {{ + * id: string, + * title: (string|undefined) + * }} + * @see https://developer.chrome.com/extensions/fileSystemProvider#type-Action + */ +chrome.fileSystemProvider.Action; + +/** + * @typedef {{ + * fileSystemId: string, + * requestId: number, + * entryPaths: !Array<string>, + * actionId: string + * }} + * @see https://developer.chrome.com/extensions/fileSystemProvider#type-ExecuteActionRequestedOptions + */ +chrome.fileSystemProvider.ExecuteActionRequestedOptions; + +/** + * @typedef {{ + * entryPath: string, + * changeType: !chrome.fileSystemProvider.ChangeType + * }} + * @see https://developer.chrome.com/extensions/fileSystemProvider#type-Change + */ +chrome.fileSystemProvider.Change; + +/** + * @typedef {{ + * fileSystemId: string, + * observedPath: string, + * recursive: boolean, + * changeType: !chrome.fileSystemProvider.ChangeType, + * changes: (!Array<!chrome.fileSystemProvider.Change>|undefined), + * tag: (string|undefined) + * }} + * @see https://developer.chrome.com/extensions/fileSystemProvider#type-NotifyOptions + */ +chrome.fileSystemProvider.NotifyOptions; + +/** + * @typedef {{ + * fileSystemId: string, + * requestId: number + * }} + * @see https://developer.chrome.com/extensions/fileSystemProvider#type-ConfigureRequestedOptions + */ +chrome.fileSystemProvider.ConfigureRequestedOptions; + +/** + * <p>Mounts a file system with the given <code>fileSystemId</code> and + * <code>displayName</code>. <code>displayName</code> will be shown in the left + * panel of the Files app. <code>displayName</code> can contain any characters + * including '/', but cannot be an empty string. <code>displayName</code> must + * be descriptive but doesn't have to be unique. The <code>fileSystemId</code> + * must not be an empty string.</p><p>Depending on the type of the file system + * being mounted, the <code>source</code> option must be set + * appropriately.</p><p>In case of an error, $(ref:runtime.lastError) will be + * set with a corresponding error code.</p> + * @param {!chrome.fileSystemProvider.MountOptions} options + * @param {function():void=} callback A generic result callback to indicate + * success or failure. + * @see https://developer.chrome.com/extensions/fileSystemProvider#method-mount + */ +chrome.fileSystemProvider.mount = function(options, callback) {}; + +/** + * <p>Unmounts a file system with the given <code>fileSystemId</code>. It must + * be called after $(ref:onUnmountRequested) is invoked. Also, the providing + * extension can decide to perform unmounting if not requested (eg. in case of + * lost connection, or a file error).</p><p>In case of an error, + * $(ref:runtime.lastError) will be set with a corresponding error code.</p> + * @param {!chrome.fileSystemProvider.UnmountOptions} options + * @param {function():void=} callback A generic result callback to indicate + * success or failure. + * @see https://developer.chrome.com/extensions/fileSystemProvider#method-unmount + */ +chrome.fileSystemProvider.unmount = function(options, callback) {}; + +/** + * Returns all file systems mounted by the extension. + * @param {function(!Array<!chrome.fileSystemProvider.FileSystemInfo>):void} + * callback Callback to receive the result of $(ref:getAll) function. + * @see https://developer.chrome.com/extensions/fileSystemProvider#method-getAll + */ +chrome.fileSystemProvider.getAll = function(callback) {}; + +/** + * Returns information about a file system with the passed + * <code>fileSystemId</code>. + * @param {string} fileSystemId + * @param {function(!chrome.fileSystemProvider.FileSystemInfo):void} callback + * Callback to receive the result of $(ref:get) function. + * @see https://developer.chrome.com/extensions/fileSystemProvider#method-get + */ +chrome.fileSystemProvider.get = function(fileSystemId, callback) {}; + +/** + * <p>Notifies about changes in the watched directory at + * <code>observedPath</code> in <code>recursive</code> mode. If the file system + * is mounted with <code>supportsNofityTag</code>, then <code>tag</code> must be + * provided, and all changes since the last notification always reported, even + * if the system was shutdown. The last tag can be obtained with + * $(ref:getAll).</p><p>To use, the <code>file_system_provider.notify</code> + * manifest option must be set to true.</p><p>Value of <code>tag</code> can be + * any string which is unique per call, so it's possible to identify the last + * registered notification. Eg. if the providing extension starts after a + * reboot, and the last registered notification's tag is equal to "123", then it + * should call $(ref:notify) for all changes which happened since the change + * tagged as "123". It cannot be an empty string.</p><p>Not all providers are + * able to provide a tag, but if the file system has a changelog, then the tag + * can be eg. a change number, or a revision number.</p><p>Note that if a parent + * directory is removed, then all descendant entries are also removed, and if + * they are watched, then the API must be notified about the fact. Also, if a + * directory is renamed, then all descendant entries are in fact removed, as + * there is no entry under their original paths anymore.</p><p>In case of an + * error, $(ref:runtime.lastError) will be set will a corresponding error + * code.</p> + * @param {!chrome.fileSystemProvider.NotifyOptions} options + * @param {function():void=} callback A generic result callback to indicate + * success or failure. + * @see https://developer.chrome.com/extensions/fileSystemProvider#method-notify + */ +chrome.fileSystemProvider.notify = function(options, callback) {}; + +/** + * Raised when unmounting for the file system with the <code>fileSystemId</code> + * identifier is requested. In the response, the $(ref:unmount) API method must + * be called together with <code>successCallback</code>. If unmounting is not + * possible (eg. due to a pending operation), then <code>errorCallback</code> + * must be called. + * @type {!ChromeEvent} + * @see https://developer.chrome.com/extensions/fileSystemProvider#event-onUnmountRequested + */ +chrome.fileSystemProvider.onUnmountRequested; + +/** + * Raised when metadata of a file or a directory at <code>entryPath</code> is + * requested. The metadata must be returned with the + * <code>successCallback</code> call. In case of an error, + * <code>errorCallback</code> must be called. + * @type {!ChromeEvent} + * @see https://developer.chrome.com/extensions/fileSystemProvider#event-onGetMetadataRequested + */ +chrome.fileSystemProvider.onGetMetadataRequested; + +/** + * Raised when a list of actions for a set of files or directories at + * <code>entryPaths</code> is requested. All of the returned actions must be + * applicable to each entry. If there are no such actions, an empty array should + * be returned. The actions must be returned with the + * <code>successCallback</code> call. In case of an error, + * <code>errorCallback</code> must be called. + * @type {!ChromeEvent} + * @see https://developer.chrome.com/extensions/fileSystemProvider#event-onGetActionsRequested + */ +chrome.fileSystemProvider.onGetActionsRequested; + +/** + * Raised when contents of a directory at <code>directoryPath</code> are + * requested. The results must be returned in chunks by calling the + * <code>successCallback</code> several times. In case of an error, + * <code>errorCallback</code> must be called. + * @type {!ChromeEvent} + * @see https://developer.chrome.com/extensions/fileSystemProvider#event-onReadDirectoryRequested + */ +chrome.fileSystemProvider.onReadDirectoryRequested; + +/** + * Raised when opening a file at <code>filePath</code> is requested. If the file + * does not exist, then the operation must fail. Maximum number of files opened + * at once can be specified with <code>MountOptions</code>. + * @type {!ChromeEvent} + * @see https://developer.chrome.com/extensions/fileSystemProvider#event-onOpenFileRequested + */ +chrome.fileSystemProvider.onOpenFileRequested; + +/** + * Raised when opening a file previously opened with <code>openRequestId</code> + * is requested to be closed. + * @type {!ChromeEvent} + * @see https://developer.chrome.com/extensions/fileSystemProvider#event-onCloseFileRequested + */ +chrome.fileSystemProvider.onCloseFileRequested; + +/** + * Raised when reading contents of a file opened previously with + * <code>openRequestId</code> is requested. The results must be returned in + * chunks by calling <code>successCallback</code> several times. In case of an + * error, <code>errorCallback</code> must be called. + * @type {!ChromeEvent} + * @see https://developer.chrome.com/extensions/fileSystemProvider#event-onReadFileRequested + */ +chrome.fileSystemProvider.onReadFileRequested; + +/** + * Raised when creating a directory is requested. The operation must fail with + * the EXISTS error if the target directory already exists. If + * <code>recursive</code> is true, then all of the missing directories on the + * directory path must be created. + * @type {!ChromeEvent} + * @see https://developer.chrome.com/extensions/fileSystemProvider#event-onCreateDirectoryRequested + */ +chrome.fileSystemProvider.onCreateDirectoryRequested; + +/** + * Raised when deleting an entry is requested. If <code>recursive</code> is + * true, and the entry is a directory, then all of the entries inside must be + * recursively deleted as well. + * @type {!ChromeEvent} + * @see https://developer.chrome.com/extensions/fileSystemProvider#event-onDeleteEntryRequested + */ +chrome.fileSystemProvider.onDeleteEntryRequested; + +/** + * Raised when creating a file is requested. If the file already exists, then + * <code>errorCallback</code> must be called with the <code>"EXISTS"</code> + * error code. + * @type {!ChromeEvent} + * @see https://developer.chrome.com/extensions/fileSystemProvider#event-onCreateFileRequested + */ +chrome.fileSystemProvider.onCreateFileRequested; + +/** + * Raised when copying an entry (recursively if a directory) is requested. If an + * error occurs, then <code>errorCallback</code> must be called. + * @type {!ChromeEvent} + * @see https://developer.chrome.com/extensions/fileSystemProvider#event-onCopyEntryRequested + */ +chrome.fileSystemProvider.onCopyEntryRequested; + +/** + * Raised when moving an entry (recursively if a directory) is requested. If an + * error occurs, then <code>errorCallback</code> must be called. + * @type {!ChromeEvent} + * @see https://developer.chrome.com/extensions/fileSystemProvider#event-onMoveEntryRequested + */ +chrome.fileSystemProvider.onMoveEntryRequested; + +/** + * Raised when truncating a file to a desired length is requested. If an error + * occurs, then <code>errorCallback</code> must be called. + * @type {!ChromeEvent} + * @see https://developer.chrome.com/extensions/fileSystemProvider#event-onTruncateRequested + */ +chrome.fileSystemProvider.onTruncateRequested; + +/** + * Raised when writing contents to a file opened previously with + * <code>openRequestId</code> is requested. + * @type {!ChromeEvent} + * @see https://developer.chrome.com/extensions/fileSystemProvider#event-onWriteFileRequested + */ +chrome.fileSystemProvider.onWriteFileRequested; + +/** + * Raised when aborting an operation with <code>operationRequestId</code> is + * requested. The operation executed with <code>operationRequestId</code> must + * be immediately stopped and <code>successCallback</code> of this abort request + * executed. If aborting fails, then <code>errorCallback</code> must be called. + * Note, that callbacks of the aborted operation must not be called, as they + * will be ignored. Despite calling <code>errorCallback</code>, the request may + * be forcibly aborted. + * @type {!ChromeEvent} + * @see https://developer.chrome.com/extensions/fileSystemProvider#event-onAbortRequested + */ +chrome.fileSystemProvider.onAbortRequested; + +/** + * Raised when showing a configuration dialog for <code>fileSystemId</code> is + * requested. If it's handled, the + * <code>file_system_provider.configurable</code> manfiest option must be set to + * true. + * @type {!ChromeEvent} + * @see https://developer.chrome.com/extensions/fileSystemProvider#event-onConfigureRequested + */ +chrome.fileSystemProvider.onConfigureRequested; + +/** + * Raised when showing a dialog for mounting a new file system is requested. If + * the extension/app is a file handler, then this event shouldn't be handled. + * Instead <code>app.runtime.onLaunched</code> should be handled in order to + * mount new file systems when a file is opened. For multiple mounts, the + * <code>file_system_provider.multiple_mounts</code> manifest option must be set + * to true. + * @type {!ChromeEvent} + * @see https://developer.chrome.com/extensions/fileSystemProvider#event-onMountRequested + */ +chrome.fileSystemProvider.onMountRequested; + +/** + * Raised when setting a new directory watcher is requested. If an error occurs, + * then <code>errorCallback</code> must be called. + * @type {!ChromeEvent} + * @see https://developer.chrome.com/extensions/fileSystemProvider#event-onAddWatcherRequested + */ +chrome.fileSystemProvider.onAddWatcherRequested; + +/** + * Raised when the watcher should be removed. If an error occurs, then + * <code>errorCallback</code> must be called. + * @type {!ChromeEvent} + * @see https://developer.chrome.com/extensions/fileSystemProvider#event-onRemoveWatcherRequested + */ +chrome.fileSystemProvider.onRemoveWatcherRequested; + +/** + * Raised when executing an action for a set of files or directories is\ + * requested. After the action is completed, <code>successCallback</code> must + * be called. On error, <code>errorCallback</code> must be called. + * @type {!ChromeEvent} + * @see https://developer.chrome.com/extensions/fileSystemProvider#event-onExecuteActionRequested + */ +chrome.fileSystemProvider.onExecuteActionRequested; diff --git a/third_party/libvpx/README.chromium b/third_party/libvpx/README.chromium index 0729d9e45d..cfdffa8979 100644 --- a/third_party/libvpx/README.chromium +++ b/third_party/libvpx/README.chromium @@ -5,9 +5,9 @@ License: BSD License File: source/libvpx/LICENSE Security Critical: yes -Date: Friday June 01 2018 +Date: Tuesday June 05 2018 Branch: master -Commit: 3f7e6cc020446ee29439f1cd7d3d5c39adaf64c0 +Commit: 87386826a95fda953162050a27f2506d8c1f3db5 Description: Contains the sources used to compile libvpx binaries used by Google Chrome and diff --git a/third_party/libvpx/source/config/vpx_version.h b/third_party/libvpx/source/config/vpx_version.h index 9c7bd70bb4..afe72b172f 100644 --- a/third_party/libvpx/source/config/vpx_version.h +++ b/third_party/libvpx/source/config/vpx_version.h @@ -2,7 +2,7 @@ #define VERSION_MAJOR 1 #define VERSION_MINOR 7 #define VERSION_PATCH 0 -#define VERSION_EXTRA "428-g3f7e6cc02" +#define VERSION_EXTRA "435-g87386826a" #define VERSION_PACKED ((VERSION_MAJOR<<16)|(VERSION_MINOR<<8)|(VERSION_PATCH)) -#define VERSION_STRING_NOSP "v1.7.0-428-g3f7e6cc02" -#define VERSION_STRING " v1.7.0-428-g3f7e6cc02" +#define VERSION_STRING_NOSP "v1.7.0-435-g87386826a" +#define VERSION_STRING " v1.7.0-435-g87386826a" diff --git a/third_party/r8/README.chromium b/third_party/r8/README.chromium index bfdb4d3fe7..9a6cdfae18 100644 --- a/third_party/r8/README.chromium +++ b/third_party/r8/README.chromium @@ -1,6 +1,6 @@ Name: R8 URL: https://r8.googlesource.com/r8 -Version: 1.0.26 +Version: 1.0.30 License: BSD 3-Clause License File: NOT_SHIPPED Security Critical: no @@ -8,7 +8,5 @@ Security Critical: no Description: D8 is a dexer that converts java byte code to dex code. It is contained in the R8 repo. -We use a wrapper (compatdx) which lets D8 take the same arguments as DX, -which it replaces. Local Modifications: None diff --git a/third_party/r8/cipd.yaml b/third_party/r8/cipd.yaml index 71d4d016b2..9c6182de02 100644 --- a/third_party/r8/cipd.yaml +++ b/third_party/r8/cipd.yaml @@ -2,4 +2,4 @@ package: chromium/third_party/r8 description: > D8 is a dexer that converts java byte code to dex code (part of the R8 repo). data: - - file: lib/compatdx.jar
\ No newline at end of file + - file: lib/d8.jar
\ No newline at end of file |