| OLD | NEW |
| 1 // Copyright (c) 2015 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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_BROWSER_DEVTOOLS_DEVTOOLS_FRAME_TRACE_RECORDER_H_ | 5 #ifndef CONTENT_BROWSER_DEVTOOLS_DEVTOOLS_FRAME_TRACE_RECORDER_H_ |
| 6 #define CONTENT_BROWSER_DEVTOOLS_DEVTOOLS_FRAME_TRACE_RECORDER_H_ | 6 #define CONTENT_BROWSER_DEVTOOLS_DEVTOOLS_FRAME_TRACE_RECORDER_H_ |
| 7 | 7 |
| 8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
| 9 #include "base/macros.h" | 9 #include "base/macros.h" |
| 10 #include "base/memory/scoped_ptr.h" |
| 10 #include "base/memory/weak_ptr.h" | 11 #include "base/memory/weak_ptr.h" |
| 11 | 12 |
| 12 namespace cc { | 13 namespace cc { |
| 13 class CompositorFrameMetadata; | 14 class CompositorFrameMetadata; |
| 14 } | 15 } |
| 15 | 16 |
| 16 namespace content { | 17 namespace content { |
| 17 | 18 |
| 18 class RenderFrameHostImpl; | 19 class RenderFrameHostImpl; |
| 19 | 20 |
| (...skipping 11 matching lines...) Expand all Loading... |
| 31 const cc::CompositorFrameMetadata& frame_metadata); | 32 const cc::CompositorFrameMetadata& frame_metadata); |
| 32 | 33 |
| 33 private: | 34 private: |
| 34 DISALLOW_COPY_AND_ASSIGN(DevToolsFrameTraceRecorder); | 35 DISALLOW_COPY_AND_ASSIGN(DevToolsFrameTraceRecorder); |
| 35 scoped_ptr<cc::CompositorFrameMetadata> last_metadata_; | 36 scoped_ptr<cc::CompositorFrameMetadata> last_metadata_; |
| 36 }; | 37 }; |
| 37 | 38 |
| 38 } // namespace content | 39 } // namespace content |
| 39 | 40 |
| 40 #endif // CONTENT_BROWSER_DEVTOOLS_DEVTOOLS_FRAME_TRACE_RECORDER_H_ | 41 #endif // CONTENT_BROWSER_DEVTOOLS_DEVTOOLS_FRAME_TRACE_RECORDER_H_ |
| OLD | NEW |