Add RequestContext.ClearHttpCache() and DownloadItem.IsPaused from CEF SDK 144#5259
Conversation
This wraps the `CefDownloadItem::IsPaused()` from CEF 144 release. See the `cef.sdk\cef\include\cef_download_item.h` file.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (7)
📝 WalkthroughWalkthroughCefSharp adds two capabilities: an asynchronous ClearHttpCache API on RequestContext that accepts an optional completion callback, and download pause state tracking via a new IsPaused property on DownloadItem. The implementation spans managed C#, C++/CLI bindings, and native CEF integration. ChangesHTTP Cache Clearing and Download State
Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
This exposes the `CefRequestContext::ClearHttpCache(callback)` from CEF 144 release. See the `cef.sdk\cef\include\cef_request_context.h` file.
d387e43 to
5b5132a
Compare
|
✅ Build CefSharp 148.0.90-CI5508 completed (commit e376daf52b by @jozefizso) |
Summary:
IRequestContext.ClearHttpCache()wraps theCefRequestContext::ClearHttpCache()method, allowing callers to clear the HTTP cache for a given request context.DownloadItem.IsPausedexposes the pause state of the downloaded item viaCefDownloadItem::IsPaused()Changes:
DownloadItem.IsPausepropertyRequestContext.ClearHttpCache(callback)methodHow Has This Been Tested?
Types of changes
Checklist:
Summary by CodeRabbit