30 lines
1020 B
C#
30 lines
1020 B
C#
namespace Cef3
|
|
{
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Diagnostics;
|
|
using System.Runtime.InteropServices;
|
|
using Cef3.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);
|
|
}
|
|
}
|