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

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

Issue 15305014: Remove reference to profile in devtools remote debugging initialization. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 7 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) 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_DEVTOOLS_REMOTE_DEBUGGING_SERVER_H_ 5 #ifndef CHROME_BROWSER_DEVTOOLS_REMOTE_DEBUGGING_SERVER_H_
6 #define CHROME_BROWSER_DEVTOOLS_REMOTE_DEBUGGING_SERVER_H_ 6 #define CHROME_BROWSER_DEVTOOLS_REMOTE_DEBUGGING_SERVER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "chrome/browser/ui/host_desktop.h" 11 #include "chrome/browser/ui/host_desktop.h"
12 12
13 class Profile;
14
15 namespace content { 13 namespace content {
16 class DevToolsHttpHandler; 14 class DevToolsHttpHandler;
17 } 15 }
18 16
19 class RemoteDebuggingServer { 17 class RemoteDebuggingServer {
20 public: 18 public:
21 RemoteDebuggingServer(Profile* profile, 19 RemoteDebuggingServer(chrome::HostDesktopType host_desktop_type,
22 chrome::HostDesktopType host_desktop_type,
23 const std::string& ip, 20 const std::string& ip,
24 int port, 21 int port,
25 const std::string& frontend_url); 22 const std::string& frontend_url);
26 23
27 virtual ~RemoteDebuggingServer(); 24 virtual ~RemoteDebuggingServer();
28 25
29 private: 26 private:
30 content::DevToolsHttpHandler* devtools_http_handler_; 27 content::DevToolsHttpHandler* devtools_http_handler_;
31 DISALLOW_COPY_AND_ASSIGN(RemoteDebuggingServer); 28 DISALLOW_COPY_AND_ASSIGN(RemoteDebuggingServer);
32 }; 29 };
33 30
34 #endif // CHROME_BROWSER_DEVTOOLS_REMOTE_DEBUGGING_SERVER_H_ 31 #endif // CHROME_BROWSER_DEVTOOLS_REMOTE_DEBUGGING_SERVER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698