Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | |
|
nasko
2016/03/02 00:20:20
It has been an year already : ), 2016.
benjhayden
2016/03/02 18:53:03
Done.
| |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #include "base/macros.h" | |
| 6 #include "base/memory/scoped_vector.h" | |
| 7 #include "base/trace_event/trace_event_impl.h" | |
| 8 #include "base/values.h" | |
| 9 #include "content/common/content_export.h" | |
| 10 | |
| 11 namespace content { | |
| 12 | |
| 13 class FrameTree; | |
| 14 class FrameTreeNode; | |
| 15 | |
| 16 // This is a temporary container used when tracing snapshots of FrameTree | |
| 17 // objects. When a snapshot of a FrameTree is taken, a TracedFrameTreeNode is | |
| 18 // created and stored by the tracing system until the trace is dumped. | |
| 19 class CONTENT_EXPORT TracedFrameTreeNode : | |
| 20 public base::trace_event::ConvertableToTraceFormat { | |
| 21 public: | |
| 22 TracedFrameTreeNode(const FrameTreeNode& node); | |
| 23 void AppendAsTraceFormat(std::string* out) const override; | |
| 24 | |
| 25 private: | |
| 26 ~TracedFrameTreeNode() override; | |
| 27 | |
| 28 int parentNodeId_; | |
|
nasko
2016/03/02 00:20:20
Class members use hacker_case_.
benjhayden
2016/03/02 18:53:03
Done.
| |
| 29 std::string url_; | |
| 30 int processId_; | |
| 31 int routingId_; | |
| 32 | |
| 33 DISALLOW_COPY_AND_ASSIGN(TracedFrameTreeNode); | |
| 34 }; | |
| 35 | |
| 36 } // content | |
| OLD | NEW |