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

Side by Side Diff: chrome/browser/debugger/remote_debugging_server.h

Issue 8554008: Add content API for DevTools HTTP handler (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removed unnecessary comment from the public interface Created 9 years 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 CHROME_BROWSER_DEBUGGER_REMOTE_DEBUGGING_SERVER_H_ 5 #ifndef CHROME_BROWSER_DEBUGGER_REMOTE_DEBUGGING_SERVER_H_
6 #define CHROME_BROWSER_DEBUGGER_REMOTE_DEBUGGING_SERVER_H_ 6 #define CHROME_BROWSER_DEBUGGER_REMOTE_DEBUGGING_SERVER_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
11 #include "base/basictypes.h" 11 #include "base/basictypes.h"
12 #include "base/memory/ref_counted.h"
13 #include "content/browser/debugger/devtools_http_protocol_handler.h"
14 12
15 class DevToolsHttpProtocolHandler;
16 class Profile; 13 class Profile;
17 14
15 namespace content {
16 class DevToolsHttpHandler;
17 }
18
18 class RemoteDebuggingServer { 19 class RemoteDebuggingServer {
19 public: 20 public:
20 RemoteDebuggingServer(Profile* profile, 21 RemoteDebuggingServer(Profile* profile,
21 const std::string& ip, 22 const std::string& ip,
22 int port, 23 int port,
23 const std::string& frontend_url); 24 const std::string& frontend_url);
24 25
25 virtual ~RemoteDebuggingServer(); 26 virtual ~RemoteDebuggingServer();
26 27
27 private: 28 private:
28 scoped_refptr<DevToolsHttpProtocolHandler> devtools_http_handler_; 29 content::DevToolsHttpHandler* devtools_http_handler_;
29 DISALLOW_COPY_AND_ASSIGN(RemoteDebuggingServer); 30 DISALLOW_COPY_AND_ASSIGN(RemoteDebuggingServer);
30 }; 31 };
31 32
32 #endif // CHROME_BROWSER_DEBUGGER_REMOTE_DEBUGGING_SERVER_H_ 33 #endif // CHROME_BROWSER_DEBUGGER_REMOTE_DEBUGGING_SERVER_H_
OLDNEW
« no previous file with comments | « chrome/browser/debugger/browser_list_tabcontents_provider.cc ('k') | chrome/browser/debugger/remote_debugging_server.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698