Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #include "base/trace_event/trace_event_impl.h" | |
| 6 #include "base/values.h" | |
| 7 #include "content/common/content_export.h" | |
| 8 #include "url/gurl.h" | |
| 9 | |
| 10 namespace content { | |
| 11 | |
| 12 class FrameTree; | |
| 13 | |
| 14 class CONTENT_EXPORT TracedFrameTree : | |
|
clamy
2015/10/12 09:31:06
It would also be nice to have a comment to explain
benjhayden
2015/10/13 00:22:21
Done.
| |
| 15 public base::trace_event::ConvertableToTraceFormat { | |
| 16 public: | |
| 17 static scoped_refptr<TracedFrameTree> Create(const FrameTree& tree); | |
| 18 | |
| 19 void AppendAsTraceFormat(std::string* out) const override; | |
| 20 | |
| 21 private: | |
| 22 explicit TracedFrameTree(const FrameTree& tree); | |
| 23 ~TracedFrameTree() override; | |
| 24 | |
| 25 scoped_ptr<base::DictionaryValue> value_; | |
| 26 | |
| 27 DISALLOW_COPY_AND_ASSIGN(TracedFrameTree); | |
| 28 }; | |
| 29 | |
| 30 } | |
|
clamy
2015/10/12 09:31:06
Add "// content" after the { (see example for an u
benjhayden
2015/10/13 00:22:21
Done.
| |
| OLD | NEW |