Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CONTENT_PUBLIC_BROWSER_PROFILER_CONTROLLER_H_ | 5 #ifndef CONTENT_PUBLIC_BROWSER_PROFILER_CONTROLLER_H_ |
| 6 #define CONTENT_PUBLIC_BROWSER_PROFILER_CONTROLLER_H_ | 6 #define CONTENT_PUBLIC_BROWSER_PROFILER_CONTROLLER_H_ |
| 7 | 7 |
| 8 #include <set> | 8 #include <set> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 25 matching lines...) Expand all Loading... | |
| 36 | 36 |
| 37 // Unregister the subscriber so that it will not be called when for example | 37 // Unregister the subscriber so that it will not be called when for example |
| 38 // OnProfilerDataCollected is returning profiler data from a child process. | 38 // OnProfilerDataCollected is returning profiler data from a child process. |
| 39 // Safe to call even if caller is not the current subscriber. | 39 // Safe to call even if caller is not the current subscriber. |
| 40 virtual void Unregister(ProfilerSubscriber* subscriber) = 0; | 40 virtual void Unregister(ProfilerSubscriber* subscriber) = 0; |
| 41 | 41 |
| 42 // Contact all processes and get their profiler data. | 42 // Contact all processes and get their profiler data. |
| 43 virtual void GetProfilerData(int sequence_number) = 0; | 43 virtual void GetProfilerData(int sequence_number) = 0; |
| 44 | 44 |
| 45 // Contact all processes and set profiler status to |enable|. | 45 // Contact all processes and set profiler status to |enable|. |
| 46 virtual void SetProfilerStatus(bool enable) = 0; | 46 virtual void SetProfilerStatus( |
| 47 tracked_objects::ThreadData::Status status) = 0; | |
|
jam
2012/02/06 23:44:07
i think you'll want to have the header in this fil
jar (doing other things)
2012/02/07 00:08:03
Good catch. The "include what you use" rule says
| |
| 47 | 48 |
| 48 }; | 49 }; |
| 49 | 50 |
| 50 } // namespace content | 51 } // namespace content |
| 51 | 52 |
| 52 #endif // CONTENT_PUBLIC_BROWSER_PROFILER_CONTROLLER_H_ | 53 #endif // CONTENT_PUBLIC_BROWSER_PROFILER_CONTROLLER_H_ |
| 53 | 54 |
| OLD | NEW |