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

Side by Side Diff: content/public/browser/devtools_agent_host.h

Issue 2370483002: DevTools: discover default port node servers for debugging (behind experiment) (Closed)
Patch Set: for landing Created 4 years, 2 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_PUBLIC_BROWSER_DEVTOOLS_AGENT_HOST_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_DEVTOOLS_AGENT_HOST_H_
6 #define CONTENT_PUBLIC_BROWSER_DEVTOOLS_AGENT_HOST_H_ 6 #define CONTENT_PUBLIC_BROWSER_DEVTOOLS_AGENT_HOST_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 176
177 // Returns the host description. 177 // Returns the host description.
178 virtual std::string GetDescription() = 0; 178 virtual std::string GetDescription() = 0;
179 179
180 // Returns url associated with agent host. 180 // Returns url associated with agent host.
181 virtual GURL GetURL() = 0; 181 virtual GURL GetURL() = 0;
182 182
183 // Returns the favicon url for this host. 183 // Returns the favicon url for this host.
184 virtual GURL GetFaviconURL() = 0; 184 virtual GURL GetFaviconURL() = 0;
185 185
186 // Returns the favicon url for this host. 186 // Returns the frontend url for this host.
187 virtual std::string GetFrontendURL() = 0; 187 virtual std::string GetFrontendURL() = 0;
188 188
189 // Activates agent host. Returns false if the operation failed. 189 // Activates agent host. Returns false if the operation failed.
190 virtual bool Activate() = 0; 190 virtual bool Activate() = 0;
191 191
192 // Reloads the host. 192 // Reloads the host.
193 virtual void Reload() = 0; 193 virtual void Reload() = 0;
194 194
195 // Closes agent host. Returns false if the operation failed. 195 // Closes agent host. Returns false if the operation failed.
196 virtual bool Close() = 0; 196 virtual bool Close() = 0;
(...skipping 11 matching lines...) Expand all
208 static void RemoveAgentStateCallback(const AgentStateCallback& callback); 208 static void RemoveAgentStateCallback(const AgentStateCallback& callback);
209 209
210 protected: 210 protected:
211 friend class base::RefCounted<DevToolsAgentHost>; 211 friend class base::RefCounted<DevToolsAgentHost>;
212 virtual ~DevToolsAgentHost() {} 212 virtual ~DevToolsAgentHost() {}
213 }; 213 };
214 214
215 } // namespace content 215 } // namespace content
216 216
217 #endif // CONTENT_PUBLIC_BROWSER_DEVTOOLS_AGENT_HOST_H_ 217 #endif // CONTENT_PUBLIC_BROWSER_DEVTOOLS_AGENT_HOST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698