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

Unified Diff: chrome/child/child_profiling.h

Issue 2627753004: Move gin and v8 portion of profiling to child from common (Closed)
Patch Set: revert gin removal for now Created 3 years, 11 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/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_

Powered by Google App Engine
This is Rietveld 408576698