You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The first method takes a uint64 parameter that consists of one or more COREWEBVIEW2_BROWSING_DATA_KINDS passed in as well as a handler which will indicate if the proper data has been cleared successfully. The handler will respond with a `bool` indicating whether the option successfully cleared the intended data fully. This method clears the data for all time.
23
+
The first method takes `COREWEBVIEW2_BROWSING_DATA_KINDS` which corresponds to the data type(s) to clear as well as a handler which will indicate if the proper data has been cleared successfully. The handler will respond with a `BOOl` indicating whether the operation successfully cleared the intended data. This method clears the data for all time.
24
24
25
25
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 time parameters correspond to how many seconds have passed since the UNIX epoch.
26
26
27
-
Both methods clear the data with the associated profile in which the method is called on.
28
-
29
-
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.
30
-
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_KINDS.
31
-
32
-
* Profile
33
-
* Site Data
34
-
* DOM Storage: App Cache, File Systems, Indexed DB, Local Storage, Web SQL, Cache Storage
35
-
Storage
36
-
* Cookies
37
-
* HTTP Cache
38
-
* Download History
39
-
* General Autofill
40
-
* Password Autosave
41
-
* Browsing History
42
-
* Settings
27
+
Both methods clear the data for the associated profile in which the method is called on.
43
28
44
29
# Examples
45
30
46
31
## Win32 C++
47
32
```cpp
48
33
49
34
/// Function to clear the autofill data from the last hour
0 commit comments