1234567891011121314151617181920212223242526272829 |
- namespace Xilium.CefGlue
- {
- using System;
- using System.Collections.Generic;
- using System.Diagnostics;
- using System.Runtime.InteropServices;
- using Xilium.CefGlue.Interop;
-
- /// <summary>
- /// Implement this interface to receive notification when tracing has completed.
- /// The methods of this class will be called on the browser process UI thread.
- /// </summary>
- public abstract unsafe partial class CefEndTracingCallback
- {
- private void on_end_tracing_complete(cef_end_tracing_callback_t* self, cef_string_t* tracing_file)
- {
- CheckSelf(self);
- OnEndTracingComplete(cef_string_t.ToString(tracing_file));
- }
-
- /// <summary>
- /// Called after all processes have sent their trace data. |tracing_file| is
- /// the path at which tracing data was written. The client is responsible for
- /// deleting |tracing_file|.
- /// </summary>
- protected abstract void OnEndTracingComplete(string tracingFile);
- }
- }
|