Chromium Code Reviews| Index: chromecast/crash/linux/crash_testing_utils.h |
| diff --git a/chromecast/crash/linux/crash_testing_utils.h b/chromecast/crash/linux/crash_testing_utils.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..b3f5288777d8d9766cd43bc6457bbe47a4489700 |
| --- /dev/null |
| +++ b/chromecast/crash/linux/crash_testing_utils.h |
| @@ -0,0 +1,25 @@ |
| +// Copyright 2015 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef CHROMECAST_CRASH_LINUX_CRASH_TESTING_UTILS_H_ |
| +#define CHROMECAST_CRASH_LINUX_CRASH_TESTING_UTILS_H_ |
| + |
| +#include "base/memory/scoped_ptr.h" |
| +#include "base/memory/scoped_vector.h" |
| + |
| +namespace chromecast { |
| + |
| +class DumpInfo; |
| + |
| +scoped_ptr<DumpInfo> CreateDumpInfo(const std::string& json_string); |
|
slan
2015/07/28 23:50:30
Please put brief comments detailing |inputs| and r
bcf_google
2015/07/29 00:41:13
Done.
|
| + |
| +bool FetchDumps(const std::string& lockfile_path, |
| + ScopedVector<DumpInfo>* dumps); |
| + |
| +bool CreateLockFile(const std::string& lockfile_path); |
| + |
| +bool AppendLockFile(const std::string& lockfile_path, const DumpInfo& dump); |
| +} |
| + |
| +#endif // CHROMECAST_CRASH_LINUX_CRASH_TESTING_UTILS_H_ |