| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_BROWSER_DEVTOOLS_DEVTOOLS_TRACING_HANDLER_H_ | 5 #ifndef CONTENT_BROWSER_DEVTOOLS_DEVTOOLS_TRACING_HANDLER_H_ |
| 6 #define CONTENT_BROWSER_DEVTOOLS_DEVTOOLS_TRACING_HANDLER_H_ | 6 #define CONTENT_BROWSER_DEVTOOLS_DEVTOOLS_TRACING_HANDLER_H_ |
| 7 | 7 |
| 8 #include <set> | 8 #include <set> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 48 | 48 |
| 49 TracingController::Options TraceOptionsFromString(const std::string& options); | 49 TracingController::Options TraceOptionsFromString(const std::string& options); |
| 50 | 50 |
| 51 void DisableRecording( | 51 void DisableRecording( |
| 52 const TracingController::TracingFileResultCallback& callback = | 52 const TracingController::TracingFileResultCallback& callback = |
| 53 TracingController::TracingFileResultCallback()); | 53 TracingController::TracingFileResultCallback()); |
| 54 | 54 |
| 55 base::WeakPtrFactory<DevToolsTracingHandler> weak_factory_; | 55 base::WeakPtrFactory<DevToolsTracingHandler> weak_factory_; |
| 56 scoped_ptr<base::Timer> buffer_usage_poll_timer_; | 56 scoped_ptr<base::Timer> buffer_usage_poll_timer_; |
| 57 Target target_; | 57 Target target_; |
| 58 bool is_recording_; |
| 58 DISALLOW_COPY_AND_ASSIGN(DevToolsTracingHandler); | 59 DISALLOW_COPY_AND_ASSIGN(DevToolsTracingHandler); |
| 59 }; | 60 }; |
| 60 | 61 |
| 61 } // namespace content | 62 } // namespace content |
| 62 | 63 |
| 63 #endif // CONTENT_BROWSER_DEVTOOLS_DEVTOOLS_TRACING_HANDLER_H_ | 64 #endif // CONTENT_BROWSER_DEVTOOLS_DEVTOOLS_TRACING_HANDLER_H_ |
| OLD | NEW |