Francis Tsui
ae015665cd
Set file last modified time.
...
PiperOrigin-RevId: 791926107
2025-08-06 18:25:42 -07:00
Francis Tsui
b7de2347b8
Prevent crash when failed to create output dir.
...
PiperOrigin-RevId: 712709379
2025-01-06 18:02:46 -08:00
Edwin Wu
eeeb93bf53
analytics: Add operation result code for Payload analytics, IV
...
PiperOrigin-RevId: 704265442
2024-12-09 06:44:40 -08:00
Janusz Sobczak
2c55c0cdbd
Refactor Pipe implementation
...
* Remove Pipe classes
* Rename BasePipe to Pipe
* Hide Pipe class in anonymous namespace in pipe.cc
* Add CreatePipe static method
* Replace Payload(std::function<InputStream&()>) with Payload(std::unique_ptr<InputStream>)
* Find&Replace Pipe usages
PiperOrigin-RevId: 557276980
2023-08-15 15:53:58 -07:00
Janusz Sobczak
270aad8ca8
Fix use-after-free defect
...
PiperOrigin-RevId: 506477039
2023-02-01 18:15:38 -08:00
Suet-Fei Li
084f7ebd88
Remove location namespace in third_party/nearby.
...
PiperOrigin-RevId: 500023196
2023-01-06 02:53:57 -08:00
Aaron Yu
4762d1e3ee
Add parent_folder support for custom save path
...
PiperOrigin-RevId: 493415518
2022-12-06 14:39:07 -08:00
Aaron Yu
49af1a96b6
Add SetCustomSavePath API to Nearby Connections
...
PiperOrigin-RevId: 492563503
2022-12-02 14:38:55 -08:00
Janusz Sobczak
a3b6058753
Fully qualify ::location::nearby imports.
...
Find and replace exercise.
Replace
`using location::nearby`
with
`using ::location::nearby`
and
`using <Name> = location::nearby`
with
`using <Name> = ::location::nearby`
PiperOrigin-RevId: 490087051
2022-11-21 15:33:21 -08:00
John Carroll
55c4714b99
Cleanup the code. Change inputs on ImplementationPlatform::GetDownloadPath from std::string& to absl::string_view.
...
PiperOrigin-RevId: 472770249
2022-09-07 11:22:24 -07:00
edwinwu
fcb3b27314
BEGIN_PUBLIC
...
[iOS] Fixes the file_path is empty when "CreateIncomingInternalPayload" in internal_payload_factory. If empty then use the payload_id for the file_name.
END_PUBLIC
- This is for the way iOS -> Android file transfer.
- CC_MD5 is deprecated in iOS13, change to CC_SHA256
- UIImageWriteToSavedPhotosAlbum, the UIImage* is nil after completion callback to the selector "didFinishSavingWithError". Changes to show image by "showReceivedImage" after write to Photo album.
- "NSDownloadsDirectory" seems have
<<Error Domain=NSCocoaErrorDomain Code=513 "You don’t have permission to save the file “Downloads” in the folder>>. Changes to use "NSTempDirectory".
PiperOrigin-RevId: 440808267
2022-04-11 00:18:05 -07:00
jfcarroll
4c13db0c2d
This is a fix for incoming payloads not having a file_name set.
...
PiperOrigin-RevId: 440438936
2022-04-08 13:25:42 -07:00
jfcarroll
f4b80ccb59
These are the changes for Payload::Type => PayloadType for the flattening CL
...
PiperOrigin-RevId: 436767666
2022-03-23 10:11:15 -07:00
jfcarroll
517d77f5aa
This adds parent path and file name to the Payload constructor. This will affect chrome.
...
PiperOrigin-RevId: 435223740
2022-03-16 19:18:13 -07:00
hais
f5fcd35ced
nearby sdk refactor
...
PiperOrigin-RevId: 425434260
2022-02-02 11:56:39 -08:00