Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6495)

Unified Diff: chromecast/crash/linux/crash_testing_utils.h

Issue 1254113004: [Chromecast] Consolidate duplicated crash test functions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Updated commit message Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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_

Powered by Google App Engine
This is Rietveld 408576698