diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2021-09-03 13:32:17 +0200 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2021-10-01 14:31:55 +0200 |
commit | 21ba0c5d4bf8fba15dddd97cd693bad2358b77fd (patch) | |
tree | 91be119f694044dfc1ff9fdc054459e925de9df0 /chromium/components/arc/crash_collector/arc_crash_collector_bridge.h | |
parent | 03c549e0392f92c02536d3f86d5e1d8dfa3435ac (diff) | |
download | qtwebengine-chromium-21ba0c5d4bf8fba15dddd97cd693bad2358b77fd.tar.gz |
BASELINE: Update Chromium to 92.0.4515.166
Change-Id: I42a050486714e9e54fc271f2a8939223a02ae364
Diffstat (limited to 'chromium/components/arc/crash_collector/arc_crash_collector_bridge.h')
-rw-r--r-- | chromium/components/arc/crash_collector/arc_crash_collector_bridge.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/chromium/components/arc/crash_collector/arc_crash_collector_bridge.h b/chromium/components/arc/crash_collector/arc_crash_collector_bridge.h index 2c13abd6fcd..0d7ee2153b7 100644 --- a/chromium/components/arc/crash_collector/arc_crash_collector_bridge.h +++ b/chromium/components/arc/crash_collector/arc_crash_collector_bridge.h @@ -10,6 +10,7 @@ #include "base/macros.h" #include "components/arc/mojom/crash_collector.mojom.h" #include "components/keyed_service/core/keyed_service.h" +#include "mojo/public/mojom/base/time.mojom.h" namespace content { class BrowserContext; @@ -28,6 +29,8 @@ class ArcCrashCollectorBridge // or nullptr if the browser |context| is not allowed to use ARC. static ArcCrashCollectorBridge* GetForBrowserContext( content::BrowserContext* context); + static ArcCrashCollectorBridge* GetForBrowserContextForTesting( + content::BrowserContext* context); ArcCrashCollectorBridge(content::BrowserContext* context, ArcBridgeService* bridge); @@ -38,7 +41,9 @@ class ArcCrashCollectorBridge ~ArcCrashCollectorBridge() override; // mojom::CrashCollectorHost overrides. - void DumpCrash(const std::string& type, mojo::ScopedHandle pipe) override; + void DumpCrash(const std::string& type, + mojo::ScopedHandle pipe, + absl::optional<base::TimeDelta> uptime) override; void DumpNativeCrash(const std::string& exec_name, int32_t pid, int64_t timestamp, @@ -48,7 +53,7 @@ class ArcCrashCollectorBridge const std::string& device, const std::string& board, const std::string& cpu_abi, - const base::Optional<std::string>& fingerprint) override; + const absl::optional<std::string>& fingerprint) override; private: std::vector<std::string> CreateCrashReporterArgs(); @@ -58,7 +63,7 @@ class ArcCrashCollectorBridge std::string device_; std::string board_; std::string cpu_abi_; - base::Optional<std::string> fingerprint_; + absl::optional<std::string> fingerprint_; }; } // namespace arc |