Skip to content

Commit 98f2e1f

Browse files
authored
Update CustomStoragePartition.md
1 parent 04fe741 commit 98f2e1f

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

specs/CustomStoragePartition.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ data stored in the custom storage partition.
4040

4141
## Win32 C++
4242
```cpp
43+
wil::com_ptr<ICoreWebView2_18> m_webView;
4344

4445
void OnWebViewCreated()
4546
{
@@ -88,6 +89,8 @@ data stored in the custom storage partition.
8889
8990
## .NET/WinRT
9091
```c#
92+
private CoreWebView2 m_webview;
93+
9194
// Sets custom storage partition identified by the partitionId, which uniquely
9295
// identifies an application context.
9396
void CoreWebView_Created()
@@ -117,7 +120,7 @@ data stored in the custom storage partition.
117120
# API Details
118121
## Win32 C++
119122
```
120-
interface ICoreWebView2_18 : IUnknown {
123+
interface ICoreWebView2_18 : ICoreWebView2_17 {
121124
/// Gets the `CustomStoragePartitionId` property.
122125
[propget] HRESULT CustomStoragePartitionId([out, retval] LPWSTR* customStoragePartitionId);
123126
@@ -161,7 +164,7 @@ interface ICoreWebView2_18 : IUnknown {
161164
[propput] HRESULT CustomStoragePartitionId([in] LPCWSTR customStoragePartitionId);
162165
}
163166
164-
interface ICoreWebView2Profile8 : IUnknown {
167+
interface ICoreWebView2Profile8 : ICoreWebView2Profile7 {
165168
/// Clears all DOM storage and cookies in the custom storage partition
166169
/// identified by the `customStoragePartitionId`.
167170
/// As DOM storage and cookies in the custom storage partition is also browsing

0 commit comments

Comments
 (0)