@@ -254,36 +254,4 @@ namespace Microsoft.Web.WebView2.Core
254254
255255Next we'll consolidate all profile-wide operations/settings into the interface
256256` ICoreWebView2Profile ` , and will also add support for erasing a profile completely
257- if strongly requested. The idea is roughly illustrated as below.
258-
259- ## Win32 C++
260-
261- ``` IDL
262- [uuid(3B9A2AF2-E703-4C81-9D25-FCE44312E960), object, pointer_default(unique)]
263- interface ICoreWebView2Profile : IUnknown {
264- // ...
265-
266- /// Gets the cookie manager object for this profile.
267- /// See ICoreWebView2CookieManager.
268- [propget] HRESULT CookieManager([out, retval] ICoreWebView2CookieManager** cookieManager);
269-
270- /// Clears browsing data based on a specific data type. The completed handler
271- /// will be invoked when the browsing data has been cleared and will indicate
272- /// if the specified data was properly cleared.
273- HRESULT ClearBrowsingData(
274- [in] COREWEBVIEW2_BROWSING_DATA_KIND dataKind,
275- [in] ICoreWebView2ClearBrowsingDataCompletedHandler *handler);
276-
277- /// Toggles whether autosave for password information is enabled. Disabled by default.
278- HRESULT TogglePasswordAutosaveEnabled([in] BOOL enable);
279-
280- /// Toggles whether autofill for information like names, street and email addresses, phone
281- /// numbers, and arbitrary input is enabled. This excludes password and credit card
282- /// information. Enabled by default.
283- HRESULT ToggleGeneralAutofillEnabled([in] BOOL enable);
284-
285- /// Erase the profile completely. All webviews on this profile will be closed and the profile
286- /// directory on disk will be deleted.
287- HRESULT Erase([in] ICoreWebView2ProfileEraseCompletedHandler *handler);
288- }
289- ```
257+ if strongly requested.
0 commit comments