| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_BACKGROUND_TRACING_MANAGER_H_ | 5 #ifndef CONTENT_PUBLIC_BROWSER_BACKGROUND_TRACING_MANAGER_H_ |
| 6 #define CONTENT_PUBLIC_BROWSER_BACKGROUND_TRACING_MANAGER_H_ | 6 #define CONTENT_PUBLIC_BROWSER_BACKGROUND_TRACING_MANAGER_H_ |
| 7 | 7 |
| 8 #include "base/memory/scoped_ptr.h" |
| 8 #include "base/trace_event/trace_event_impl.h" | 9 #include "base/trace_event/trace_event_impl.h" |
| 9 #include "base/values.h" | 10 #include "base/values.h" |
| 10 #include "content/common/content_export.h" | 11 #include "content/common/content_export.h" |
| 11 | 12 |
| 12 namespace content { | 13 namespace content { |
| 13 class BackgroundTracingConfig; | 14 class BackgroundTracingConfig; |
| 14 struct BackgroundTracingUploadConfig; | 15 struct BackgroundTracingUploadConfig; |
| 15 | 16 |
| 16 // BackgroundTracingManager is used on the browser process to trigger the | 17 // BackgroundTracingManager is used on the browser process to trigger the |
| 17 // collection of trace data and upload the results. Only the browser UI thread | 18 // collection of trace data and upload the results. Only the browser UI thread |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 94 const base::Closure& callback) = 0; | 95 const base::Closure& callback) = 0; |
| 95 virtual void FireTimerForTesting() = 0; | 96 virtual void FireTimerForTesting() = 0; |
| 96 | 97 |
| 97 protected: | 98 protected: |
| 98 virtual ~BackgroundTracingManager() {} | 99 virtual ~BackgroundTracingManager() {} |
| 99 }; | 100 }; |
| 100 | 101 |
| 101 } // namespace content | 102 } // namespace content |
| 102 | 103 |
| 103 #endif // CONTENT_PUBLIC_BROWSER_BACKGROUND_TRACING_MANAGER_H_ | 104 #endif // CONTENT_PUBLIC_BROWSER_BACKGROUND_TRACING_MANAGER_H_ |
| OLD | NEW |