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

Unified Diff: chrome/browser/task_profiler/task_profiler_data_serializer.h

Issue 9125015: Implement profiler log writing at shutdown (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Update for review comments Created 8 years, 10 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: chrome/browser/task_profiler/task_profiler_data_serializer.h
diff --git a/chrome/browser/task_profiler/task_profiler_data_serializer.h b/chrome/browser/task_profiler/task_profiler_data_serializer.h
new file mode 100644
index 0000000000000000000000000000000000000000..ed8685f933bbfe0417b4fdb188bcf5262ddc1ac7
--- /dev/null
+++ b/chrome/browser/task_profiler/task_profiler_data_serializer.h
@@ -0,0 +1,22 @@
+// Copyright (c) 2011 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 CHROME_BROWSER_TASK_PROFILER_TASK_PROFILER_DATA_SERIALIZER_H_
+#define CHROME_BROWSER_TASK_PROFILER_TASK_PROFILER_DATA_SERIALIZER_H_
+#pragma once
+
+class FilePath;
+
+namespace task_profiler {
+
+// This class collects task profiler data and serializes it to a file. The file
+// format is compatible with the about:profiler UI.
+class TaskProfilerDataSerializer {
+ public:
+ bool WriteToFile(const FilePath &path);
+};
+
+} // namespace task_profiler
+
+#endif // CHROME_BROWSER_TASK_PROFILER_TASK_PROFILER_DATA_SERIALIZER_H_
« no previous file with comments | « chrome/browser/task_profiler/auto_tracking.cc ('k') | chrome/browser/task_profiler/task_profiler_data_serializer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698