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

Side by Side Diff: content/renderer/devtools/devtools_agent.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_RENDERER_DEVTOOLS_DEVTOOLS_AGENT_H_ 5 #ifndef CONTENT_RENDERER_DEVTOOLS_DEVTOOLS_AGENT_H_
6 #define CONTENT_RENDERER_DEVTOOLS_DEVTOOLS_AGENT_H_ 6 #define CONTENT_RENDERER_DEVTOOLS_DEVTOOLS_AGENT_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 10
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 64
65 // WebDevToolsAgentClient implementation. 65 // WebDevToolsAgentClient implementation.
66 void sendProtocolMessage(int session_id, 66 void sendProtocolMessage(int session_id,
67 int call_id, 67 int call_id,
68 const blink::WebString& response, 68 const blink::WebString& response,
69 const blink::WebString& state) override; 69 const blink::WebString& state) override;
70 blink::WebDevToolsAgentClient::WebKitClientMessageLoop* 70 blink::WebDevToolsAgentClient::WebKitClientMessageLoop*
71 createClientMessageLoop() override; 71 createClientMessageLoop() override;
72 void willEnterDebugLoop() override; 72 void willEnterDebugLoop() override;
73 void didExitDebugLoop() override; 73 void didExitDebugLoop() override;
74
75 bool requestDevToolsForFrame(blink::WebLocalFrame* frame) override; 74 bool requestDevToolsForFrame(blink::WebLocalFrame* frame) override;
76
77 void enableTracing(const blink::WebString& category_filter) override; 75 void enableTracing(const blink::WebString& category_filter) override;
78 void disableTracing() override; 76 void disableTracing() override;
79
80 void setCPUThrottlingRate(double rate) override; 77 void setCPUThrottlingRate(double rate) override;
78 void showCertificateViewer(const blink::WebString& certificate) override;
81 79
82 void OnAttach(const std::string& host_id, int session_id); 80 void OnAttach(const std::string& host_id, int session_id);
83 void OnReattach(const std::string& host_id, 81 void OnReattach(const std::string& host_id,
84 int session_id, 82 int session_id,
85 const std::string& agent_state); 83 const std::string& agent_state);
86 void OnDetach(); 84 void OnDetach();
87 void OnDispatchOnInspectorBackend(int session_id, 85 void OnDispatchOnInspectorBackend(int session_id,
88 int call_id, 86 int call_id,
89 const std::string& method, 87 const std::string& method,
90 const std::string& message); 88 const std::string& message);
(...skipping 17 matching lines...) Expand all
108 send_protocol_message_callback_for_test_; 106 send_protocol_message_callback_for_test_;
109 std::unique_ptr<DevToolsCPUThrottler> cpu_throttler_; 107 std::unique_ptr<DevToolsCPUThrottler> cpu_throttler_;
110 base::WeakPtrFactory<DevToolsAgent> weak_factory_; 108 base::WeakPtrFactory<DevToolsAgent> weak_factory_;
111 109
112 DISALLOW_COPY_AND_ASSIGN(DevToolsAgent); 110 DISALLOW_COPY_AND_ASSIGN(DevToolsAgent);
113 }; 111 };
114 112
115 } // namespace content 113 } // namespace content
116 114
117 #endif // CONTENT_RENDERER_DEVTOOLS_DEVTOOLS_AGENT_H_ 115 #endif // CONTENT_RENDERER_DEVTOOLS_DEVTOOLS_AGENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698