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

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

Issue 2296953004: Send certificates to devtools when it's open instead of using certId (Closed)
Patch Set: take out unneeded code Created 4 years, 3 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 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 153
154 void OnClientAttached(); 154 void OnClientAttached();
155 void OnClientDetached(); 155 void OnClientDetached();
156 156
157 void RenderFrameCrashed(); 157 void RenderFrameCrashed();
158 void OnSwapCompositorFrame(const IPC::Message& message); 158 void OnSwapCompositorFrame(const IPC::Message& message);
159 void OnDispatchOnInspectorFrontend( 159 void OnDispatchOnInspectorFrontend(
160 RenderFrameHost* sender, 160 RenderFrameHost* sender,
161 const DevToolsMessageChunk& message); 161 const DevToolsMessageChunk& message);
162 void OnRequestNewWindow(RenderFrameHost* sender, int new_routing_id); 162 void OnRequestNewWindow(RenderFrameHost* sender, int new_routing_id);
163 void OnShowCertificateViewer(RenderFrameHost* sender,
164 const std::string& certificate);
163 void DestroyOnRenderFrameGone(); 165 void DestroyOnRenderFrameGone();
164 166
165 void CreatePowerSaveBlocker(); 167 void CreatePowerSaveBlocker();
166 168
167 class FrameHostHolder; 169 class FrameHostHolder;
168 170
169 std::unique_ptr<FrameHostHolder> current_; 171 std::unique_ptr<FrameHostHolder> current_;
170 std::unique_ptr<FrameHostHolder> pending_; 172 std::unique_ptr<FrameHostHolder> pending_;
171 173
172 // Stores per-host state between DisconnectWebContents and ConnectWebContents. 174 // Stores per-host state between DisconnectWebContents and ConnectWebContents.
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
213 215
214 // The FrameTreeNode associated with this agent. 216 // The FrameTreeNode associated with this agent.
215 FrameTreeNode* frame_tree_node_; 217 FrameTreeNode* frame_tree_node_;
216 218
217 DISALLOW_COPY_AND_ASSIGN(RenderFrameDevToolsAgentHost); 219 DISALLOW_COPY_AND_ASSIGN(RenderFrameDevToolsAgentHost);
218 }; 220 };
219 221
220 } // namespace content 222 } // namespace content
221 223
222 #endif // CONTENT_BROWSER_DEVTOOLS_RENDER_FRAME_DEVTOOLS_AGENT_HOST_H_ 224 #endif // CONTENT_BROWSER_DEVTOOLS_RENDER_FRAME_DEVTOOLS_AGENT_HOST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698