diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2021-09-01 11:08:40 +0200 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2021-10-01 12:16:21 +0000 |
commit | 03c549e0392f92c02536d3f86d5e1d8dfa3435ac (patch) | |
tree | fe49d170a929b34ba82cd10db1a0bd8e3760fa4b /chromium/base/files/file.h | |
parent | 5d013f5804a0d91fcf6c626b2d6fb6eca5c845b0 (diff) |
BASELINE: Update Chromium to 91.0.4472.160
Change-Id: I0def1f08a2412aeed79a9ab95dd50eb5c3f65f31
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'chromium/base/files/file.h')
-rw-r--r-- | chromium/base/files/file.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/chromium/base/files/file.h b/chromium/base/files/file.h index c4d99b146c0..79fd844ee50 100644 --- a/chromium/base/files/file.h +++ b/chromium/base/files/file.h @@ -15,6 +15,7 @@ #include "base/files/file_tracing.h" #include "base/files/platform_file.h" #include "base/time/time.h" +#include "base/trace_event/base_tracing_forward.h" #include "build/build_config.h" #if defined(OS_POSIX) || defined(OS_FUCHSIA) @@ -317,6 +318,9 @@ class BASE_EXPORT File { bool async() const { return async_; } + // Serialise this object into a trace. + void WriteIntoTracedValue(perfetto::TracedValue context) const; + #if defined(OS_WIN) // Sets or clears the DeleteFile disposition on the file. Returns true if // the disposition was set or cleared, as indicated by |delete_on_close|. |