Index: chrome/common/extensions/api/log_private.idl |
diff --git a/chrome/common/extensions/api/log_private.idl b/chrome/common/extensions/api/log_private.idl |
index 454d18fbcda06c2c85442e49e1ae539e4e4ef81f..10bf641f69ebe5d269393e3fcf625ecbebfba6fe 100644 |
--- a/chrome/common/extensions/api/log_private.idl |
+++ b/chrome/common/extensions/api/log_private.idl |
@@ -46,11 +46,20 @@ namespace logPrivate { |
callback GetHistoricalCallback = void (Result res); |
+ callback DumpLogsCallback = void ([instanceOf=FileEntry] object logs); |
+ |
+ // The type of the events to be recorded. |
+ enum EventType { network }; |
+ |
interface Functions { |
// Get the existing logs from ChromeOS system. |
static void getHistorical(Filter filter, GetHistoricalCallback callback); |
static void startNetInternalsWatch(); |
static void stopNetInternalsWatch(); |
+ |
+ static void startEventRecorder(EventType type); |
+ static void stopEventRecorder(EventType type); |
+ static void dumpLogs(DumpLogsCallback callback); |
}; |
interface Events { |