| Commit-Queue | +1 |
Hey guys, made the old non-scoped things private. Updated some of the comments as well to be able to redirect people to the scoped methods more clearly.
Do let me know if we should leave the old API as public in case some tests in future may want to exercise them, or if we should make it private as is. Also was considering removing the "Scoped" from the name to make it cleaner, but let us consider that in a separate CL if so.
Thanks!
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Commit-Queue | +1 |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
// Manual memory management versions of OpenScopedSavedDocument*(). These areThere's no way for external callers to access these private methods, so please rephrase this.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
// Manual memory management versions of OpenScopedSavedDocument*(). These areThere's no way for external callers to access these private methods, so please rephrase this.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Privatize OpenSavedDocument() family of methods
Move the manual memory management versions of OpenSavedDocument(),
OpenSavedDocumentWithPassword(), and CloseSavedDocument() to the
private section of EmbedderTest.
These methods are deprecated for general use. Relocating them
encourages the use of ScopedSavedDoc variants, which leverage RAII
to ensure automatic resource cleanup and prevent potential memory
leaks in tests. Updated documentation clarifies that these manual
variants should only be used when Scoped* alternatives are not
applicable.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |