Update UnusedResources lint suppressions.
[chromium-blink-merge.git] / chromecast / crash / linux / minidump_generator.h
blob9780e430ec7102dcb1ba00fb6523205131114cf6
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CHROMECAST_CRASH_LINUX_MINIDUMP_GENERATOR_H_
6 #define CHROMECAST_CRASH_LINUX_MINIDUMP_GENERATOR_H_
8 #include <string>
10 namespace chromecast {
12 class MinidumpGenerator {
13 public:
14 virtual ~MinidumpGenerator() {}
16 // Interface to generate a minidump file in given path.
17 // This is called inside MinidumpWriter::DoWorkLocked().
18 virtual bool Generate(const std::string& minidump_path) = 0;
21 } // namespace chromecast
23 #endif // CHROMECAST_CRASH_LINUX_MINIDUMP_GENERATOR_H_