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

Side by Side Diff: content/browser/devtools/render_frame_devtools_agent_host.h

Issue 2873393002: [DevTools] Fix telemetry flakiness based on target type (Closed)
Patch Set: Created 3 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
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_DEVTOOLS_RENDER_FRAME_DEVTOOLS_AGENT_HOST_H_ 5 #ifndef CONTENT_BROWSER_DEVTOOLS_RENDER_FRAME_DEVTOOLS_AGENT_HOST_H_
6 #define CONTENT_BROWSER_DEVTOOLS_RENDER_FRAME_DEVTOOLS_AGENT_HOST_H_ 6 #define CONTENT_BROWSER_DEVTOOLS_RENDER_FRAME_DEVTOOLS_AGENT_HOST_H_
7 7
8 #include <map> 8 #include <map>
9 #include <memory> 9 #include <memory>
10 10
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 164
165 // Stores per-host state between DisconnectWebContents and ConnectWebContents. 165 // Stores per-host state between DisconnectWebContents and ConnectWebContents.
166 std::unique_ptr<FrameHostHolder> disconnected_; 166 std::unique_ptr<FrameHostHolder> disconnected_;
167 167
168 std::unique_ptr<DevToolsFrameTraceRecorder> frame_trace_recorder_; 168 std::unique_ptr<DevToolsFrameTraceRecorder> frame_trace_recorder_;
169 #if defined(OS_ANDROID) 169 #if defined(OS_ANDROID)
170 std::unique_ptr<device::PowerSaveBlocker> power_save_blocker_; 170 std::unique_ptr<device::PowerSaveBlocker> power_save_blocker_;
171 #endif 171 #endif
172 RenderFrameHostImpl* handlers_frame_host_; 172 RenderFrameHostImpl* handlers_frame_host_;
173 bool current_frame_crashed_; 173 bool current_frame_crashed_;
174 std::string title_;
175 std::string type_;
176 174
177 // PlzNavigate 175 // PlzNavigate
178 176
179 // Handle that caused the setting of pending_. 177 // Handle that caused the setting of pending_.
180 NavigationHandle* pending_handle_; 178 NavigationHandle* pending_handle_;
181 179
182 // List of handles currently navigating. 180 // List of handles currently navigating.
183 std::set<NavigationHandle*> navigating_handles_; 181 std::set<NavigationHandle*> navigating_handles_;
184 182
185 struct PendingMessage { 183 struct PendingMessage {
186 int session_id; 184 int session_id;
187 std::string method; 185 std::string method;
188 std::string message; 186 std::string message;
189 }; 187 };
190 // <call_id> -> PendingMessage 188 // <call_id> -> PendingMessage
191 std::map<int, PendingMessage> in_navigation_protocol_message_buffer_; 189 std::map<int, PendingMessage> in_navigation_protocol_message_buffer_;
192 190
193 // The FrameTreeNode associated with this agent. 191 // The FrameTreeNode associated with this agent.
194 FrameTreeNode* frame_tree_node_; 192 FrameTreeNode* frame_tree_node_;
195 193
196 DISALLOW_COPY_AND_ASSIGN(RenderFrameDevToolsAgentHost); 194 DISALLOW_COPY_AND_ASSIGN(RenderFrameDevToolsAgentHost);
197 }; 195 };
198 196
199 } // namespace content 197 } // namespace content
200 198
201 #endif // CONTENT_BROWSER_DEVTOOLS_RENDER_FRAME_DEVTOOLS_AGENT_HOST_H_ 199 #endif // CONTENT_BROWSER_DEVTOOLS_RENDER_FRAME_DEVTOOLS_AGENT_HOST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698