Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2018)

Side by Side Diff: content/browser/frame_host/traced_frame_tree_node.h

Issue 1901023003: Introduce browser side FrameTreeNodeBlameContext (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove thread safety handling (and its doc) Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2016 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/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 parent_node_id_;
29 std::string url_;
30 int process_id_;
31 int routing_id_;
32
33 DISALLOW_COPY_AND_ASSIGN(TracedFrameTreeNode);
34 };
35
36 } // content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698