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

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

Issue 2472093003: [DevTools]: Expose V8 version in /json/version (Closed)
Patch Set: Android browser added Created 4 years, 1 month 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 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 // If |active_port_output_directory| is non-empty, it is assumed the 112 // If |active_port_output_directory| is non-empty, it is assumed the
113 // socket_factory was initialized with an ephemeral port (0). The 113 // socket_factory was initialized with an ephemeral port (0). The
114 // port selected by the OS will be written to a well-known file in 114 // port selected by the OS will be written to a well-known file in
115 // the output directory. 115 // the output directory.
116 static void StartRemoteDebuggingServer( 116 static void StartRemoteDebuggingServer(
117 std::unique_ptr<DevToolsSocketFactory> server_socket_factory, 117 std::unique_ptr<DevToolsSocketFactory> server_socket_factory,
118 const std::string& frontend_url, 118 const std::string& frontend_url,
119 const base::FilePath& active_port_output_directory, 119 const base::FilePath& active_port_output_directory,
120 const base::FilePath& debug_frontend_dir, 120 const base::FilePath& debug_frontend_dir,
121 const std::string& product_name, 121 const std::string& product_name,
122 const std::string& user_agent); 122 const std::string& user_agent,
123 const std::string& v8_version);
123 124
124 // Stops remote debugging. 125 // Stops remote debugging.
125 static void StopRemoteDebuggingServer(); 126 static void StopRemoteDebuggingServer();
126 127
127 // Observer is notified about changes in DevToolsAgentHosts. 128 // Observer is notified about changes in DevToolsAgentHosts.
128 static void AddObserver(DevToolsAgentHostObserver*); 129 static void AddObserver(DevToolsAgentHostObserver*);
129 static void RemoveObserver(DevToolsAgentHostObserver*); 130 static void RemoveObserver(DevToolsAgentHostObserver*);
130 131
131 // Attaches |client| to this agent host to start debugging. 132 // Attaches |client| to this agent host to start debugging.
132 // Returns true iff attach succeeded. 133 // Returns true iff attach succeeded.
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
206 static void DetachAllClients(); 207 static void DetachAllClients();
207 208
208 protected: 209 protected:
209 friend class base::RefCounted<DevToolsAgentHost>; 210 friend class base::RefCounted<DevToolsAgentHost>;
210 virtual ~DevToolsAgentHost() {} 211 virtual ~DevToolsAgentHost() {}
211 }; 212 };
212 213
213 } // namespace content 214 } // namespace content
214 215
215 #endif // CONTENT_PUBLIC_BROWSER_DEVTOOLS_AGENT_HOST_H_ 216 #endif // CONTENT_PUBLIC_BROWSER_DEVTOOLS_AGENT_HOST_H_
OLDNEW
« no previous file with comments | « content/browser/devtools/devtools_manager.cc ('k') | content/shell/browser/shell_devtools_manager_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698