Index: chrome/child/child_profiling.h |
diff --git a/chrome/child/child_profiling.h b/chrome/child/child_profiling.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..a53c4cb09ffdbc1894a41f1ff43a4ff58300c488 |
--- /dev/null |
+++ b/chrome/child/child_profiling.h |
@@ -0,0 +1,22 @@ |
+// Copyright 2017 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_CHILD_CHILD_PROFILING_H_ |
+#define CHROME_CHILD_CHILD_PROFILING_H_ |
+ |
+#include "base/macros.h" |
+ |
+// This class is the child-process-only (i.e. non-browser) portion of |
+// chrome/common/profiling.h. |
+class ChildProfiling { |
+ public: |
+ // Called early in a process' life to allow profiling of startup time. |
+ static void ProcessStarted(); |
+ |
+ private: |
+ ChildProfiling(); |
+ DISALLOW_COPY_AND_ASSIGN(ChildProfiling); |
+}; |
+ |
+#endif // CHROME_CHILD_CHILD_PROFILING_H_ |