File tree Expand file tree Collapse file tree 2 files changed +0
-53
lines changed Expand file tree Collapse file tree 2 files changed +0
-53
lines changed Original file line number Diff line number Diff line change @@ -245,40 +245,6 @@ namespace CefSharp
245245 return success;
246246 }
247247
248- // /
249- // Clears all certificate exceptions that were added as part of handling
250- // CefRequestHandler::OnCertificateError(). If you call this it is
251- // recommended that you also call CloseAllConnections() or you risk not
252- // being prompted again for server certificates if you reconnect quickly.
253- // If |callback| is non-NULL it will be executed on the UI thread after
254- // completion.
255- // /
256- /* --cef(optional_param=callback)--*/
257- virtual void ClearCertificateExceptions (ICompletionCallback^ callback)
258- {
259- ThrowIfDisposed ();
260-
261- CefRefPtr<CefCompletionCallback> wrapper = callback == nullptr ? NULL : new CefCompletionCallbackAdapter (callback);
262-
263- _requestContext->ClearCertificateExceptions (wrapper);
264- }
265-
266- // /
267- // Clears all active and idle connections that Chromium currently has.
268- // This is only recommended if you have released all other CEF objects but
269- // don't yet want to call CefShutdown(). If |callback| is non-NULL it will be
270- // executed on the UI thread after completion.
271- // /
272- /* --cef(optional_param=callback)--*/
273- virtual void CloseAllConnections (ICompletionCallback^ callback)
274- {
275- ThrowIfDisposed ();
276-
277- CefRefPtr<CefCompletionCallback> wrapper = callback == nullptr ? NULL : new CefCompletionCallbackAdapter (callback);
278-
279- _requestContext->CloseAllConnections (wrapper);
280- }
281-
282248 operator CefRefPtr<CefRequestContext>()
283249 {
284250 if (this == nullptr )
Original file line number Diff line number Diff line change @@ -151,24 +151,5 @@ public interface IRequestContext : IDisposable
151151 /// When CefSettings.MultiThreadedMessageLoop == false (the default is true) then the main
152152 /// application thread will be the CEF UI thread.</remarks>
153153 bool SetPreference ( string name , object value , out string error ) ;
154-
155- /// <summary>
156- /// Clears all certificate exceptions that were added as part of handling
157- /// <see cref="IRequestHandler.OnCertificateError"/>. If you call this it is
158- /// recommended that you also call <see cref="IRequestContext.CloseAllConnections"/> or you risk not
159- /// being prompted again for server certificates if you reconnect quickly.
160- /// </summary>
161- /// <param name="callback">If is non-NULL it will be executed on the CEF UI thread after
162- /// completion. This param is optional</param>
163- void ClearCertificateExceptions ( ICompletionCallback callback ) ;
164-
165- /// <summary>
166- /// Clears all active and idle connections that Chromium currently has.
167- /// This is only recommended if you have released all other CEF objects but
168- /// don't yet want to call Cef.Shutdown().
169- /// </summary>
170- /// <param name="callback">If is non-NULL it will be executed on the CEF UI thread after
171- /// completion. This param is optional</param>
172- void CloseAllConnections ( ICompletionCallback callback ) ;
173154 }
174155}
You can’t perform that action at this time.
0 commit comments