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_DEBUGGER_DEVTOOLS_TRACING_HANDLER_H_ | 5 #ifndef CONTENT_BROWSER_DEVTOOLS_DEVTOOLS_TRACING_HANDLER_H_ |
6 #define CONTENT_BROWSER_DEBUGGER_DEVTOOLS_TRACING_HANDLER_H_ | 6 #define CONTENT_BROWSER_DEVTOOLS_DEVTOOLS_TRACING_HANDLER_H_ |
7 | 7 |
8 #include "content/browser/debugger/devtools_browser_target.h" | 8 #include "content/browser/devtools/devtools_browser_target.h" |
9 #include "content/public/browser/trace_subscriber.h" | 9 #include "content/public/browser/trace_subscriber.h" |
10 | 10 |
11 namespace content { | 11 namespace content { |
12 | 12 |
13 // This class bridges DevTools remote debugging server with the trace | 13 // This class bridges DevTools remote debugging server with the trace |
14 // infrastructure. | 14 // infrastructure. |
15 class DevToolsTracingHandler | 15 class DevToolsTracingHandler |
16 : public TraceSubscriber, | 16 : public TraceSubscriber, |
17 public DevToolsBrowserTarget::Handler { | 17 public DevToolsBrowserTarget::Handler { |
18 public: | 18 public: |
(...skipping 21 matching lines...) Expand all Loading... |
40 bool has_completed_; | 40 bool has_completed_; |
41 | 41 |
42 std::vector<std::string> buffer_; | 42 std::vector<std::string> buffer_; |
43 int buffer_data_size_; | 43 int buffer_data_size_; |
44 | 44 |
45 DISALLOW_COPY_AND_ASSIGN(DevToolsTracingHandler); | 45 DISALLOW_COPY_AND_ASSIGN(DevToolsTracingHandler); |
46 }; | 46 }; |
47 | 47 |
48 } // namespace content | 48 } // namespace content |
49 | 49 |
50 #endif // CONTENT_BROWSER_DEBUGGER_DEVTOOLS_TRACING_HANDLER_H_ | 50 #endif // CONTENT_BROWSER_DEVTOOLS_DEVTOOLS_TRACING_HANDLER_H_ |
OLD | NEW |