Skip to content

Commit 943c3b3

Browse files
author
Maura Winstanley
committed
fixes
1 parent b04a9df commit 943c3b3

1 file changed

Lines changed: 9 additions & 8 deletions

File tree

specs/ClearBrowsingData.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@ The first method takes a uint64 parameter that consists of one or more COREWEBVI
2525
The second method takes the same parameters for the dataKinds and handler, as well as a start and end time in which the API should clear the corresponding data between. The double time parameters correspond to how many seconds since the UNIX epoch.
2626

2727
The browsing data kinds that are supported are listed below. These data kinds follow a hierarchical structure in which nested bullet points are included in their parent bullet point's data kind.
28-
Ex: DOM storage is encompassed in site data which is encompassed in the profile data. Each of the following bullets correspond to a COREWEBVIEW2_BROWSING_DATA_KIND.
28+
Ex: DOM storage is included in site data which is included in the profile data. Each of the following bullets correspond to a COREWEBVIEW2_BROWSING_DATA_KIND.
2929

3030
* Profile
3131
* Site Data
32-
* DOM Storage: App Cache, File Systems, Indexed DB, Local Storage, Web SQL, Cache
32+
* DOM Storage: App Cache, File Systems, Indexed DB, Local Storage, Web SQL, Cache Storage
3333
Storage
3434
* Cookies
3535
* HTTP Cache
@@ -188,7 +188,7 @@ typedef enum COREWEBVIEW2_BROWSING_DATA_KIND {
188188
COREWEBVIEW2_BROWSING_DATA_KIND_SETTINGS = 1<<12,
189189
190190
/// Specifies profile data that should be wiped to make it look like a new profile.
191-
/// This browsing data kind if inclusive of COREWEBVIEW2_BROWSING_DATA_KIND_SITE,
191+
/// This browsing data kind is inclusive of COREWEBVIEW2_BROWSING_DATA_KIND_SITE,
192192
/// COREWEBVIEW2_BROWSING_DATA_KIND_HTTP_CACHE,
193193
/// COREWEBVIEW2_BROWSING_DATA_KIND_DOWNLOAD_HISTORY,
194194
/// COREWEBVIEW2_BROWSING_DATA_KIND_GENERAL_AUTOFILL,
@@ -224,13 +224,14 @@ interface ICoreWebView2Environment2 : ICoreWebView2Environment {
224224
/// * Settings
225225
/// The completed handler will be invoked when the browsing data has been cleared and will
226226
/// indicate if the specified data was properly cleared.
227-
/// The first ClearBrowsingData method clears the dataKinds for all time.
228-
/// The second ClearBrowsingData method takes in two additional parameters for the
229-
/// start and end time in which it should clear the data between. The startTime and endTime
230-
/// parameters correspond to the number of seconds since the UNIX epoch.
227+
/// ClearBrowsingData clears the dataKinds for all time.
231228
HRESULT ClearBrowsingData(
232229
[in] uint64 dataKinds,
233230
[in] ICoreWebView2ClearBrowsingDataCompletedHandler *handler);
231+
232+
/// ClearBrowsingDataInTimeRange takes in two additional parameters for the
233+
/// start and end time for which it should clear the data between. The startTime and endTime
234+
/// parameters correspond to the number of seconds since the UNIX epoch.
234235
HRESULT ClearBrowsingDataInTimeRange(
235236
[in] uint64 dataKinds,
236237
[in] double startTime,
@@ -260,7 +261,7 @@ namespace Microsoft.Web.WebView2.Core
260261
Failed = 2,
261262
};
262263

263-
enum CoreWebView2BrowsingDataKind
264+
[Flags] enum CoreWebView2BrowsingDataKind
264265
{
265266
AppCache = 1,
266267
FileSystems = 2,

0 commit comments

Comments
 (0)