@@ -88,25 +88,26 @@ class QCEFVIEW_EXPORT QCefContext : public QObject
88
88
bool deleteAllCookies ();
89
89
90
90
// / <summary>
91
- // / Adds an entry to the cross-origin access whitelist.
91
+ // / Adds an entry to the cross-origin access whitelist. For details please refer to:
92
+ // / https://github.com/chromiumembedded/cef/blob/605c2bac86415dcec1e2902cdc46dc11c1ad026a/include/cef_origin_whitelist.h#L81C23-L81C23
92
93
// / </summary>
93
- // / <param name="sourceOrigin"></param>
94
- // / <param name="targetSchema"></param>
95
- // / <param name="targetDomain"></param>
96
- // / <param name="allowTargetSubdomains"></param>
94
+ // / <param name="sourceOrigin">The source origin </param>
95
+ // / <param name="targetSchema">The target schema </param>
96
+ // / <param name="targetDomain">The target domain </param>
97
+ // / <param name="allowTargetSubdomains">Whether to allow subdomain or not </param>
97
98
// / <returns>True on success; otherwise false</returns>
98
99
bool addCrossOriginWhitelistEntry (const QString& sourceOrigin,
99
100
const QString& targetSchema,
100
101
const QString& targetDomain,
101
102
bool allowTargetSubdomains);
102
103
103
104
// / <summary>
104
- // / Removes an entry from the cross-origin access whitelist.
105
+ // / Removes an entry from the cross-origin access whitelist. For details please refer to:
106
+ // / https://github.com/chromiumembedded/cef/blob/605c2bac86415dcec1e2902cdc46dc11c1ad026a/include/cef_origin_whitelist.h#L91C12-L91C12
105
107
// / </summary>
106
- // / <param name="sourceOrigin"></param>
107
- // / <param name="targetSchema"></param>
108
- // / <param name="targetDomain"></param>
109
- // / <param name="allowTargetSubdomains"></param>
108
+ // / <param name="sourceOrigin">The source origin</param>
109
+ // / <param name="targetSchema">The target schema</param>
110
+ // / <param name="targetDomain">The target domain</param>
110
111
// / <returns>True on success; otherwise false</returns>
111
112
bool removeCrossOriginWhitelistEntry (const QString& sourceOrigin,
112
113
const QString& targetSchema,
0 commit comments