OLD | NEW |
(Empty) | |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CHROME_CHILD_CHILD_PROFILING_H_ |
| 6 #define CHROME_CHILD_CHILD_PROFILING_H_ |
| 7 |
| 8 #include "base/macros.h" |
| 9 |
| 10 // This class is the child-process-only (i.e. non-browser) portion of |
| 11 // chrome/common/profiling.h. |
| 12 class ChildProfiling { |
| 13 public: |
| 14 // Called early in a process' life to allow profiling of startup time. |
| 15 static void ProcessStarted(); |
| 16 |
| 17 private: |
| 18 ChildProfiling(); |
| 19 DISALLOW_COPY_AND_ASSIGN(ChildProfiling); |
| 20 }; |
| 21 |
| 22 #endif // CHROME_CHILD_CHILD_PROFILING_H_ |
OLD | NEW |