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

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

Issue 1114503002: [DevTools] Cleanup DevToolsTarget and DevToolsManagerDelegate after moving to devtools_discovery. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@devtools-discovery-chrome
Patch Set: Created 5 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 CHROMECAST_BROWSER_DEVTOOLS_REMOTE_DEBUGGING_SERVER_H_ 5 #ifndef CHROMECAST_BROWSER_DEVTOOLS_REMOTE_DEBUGGING_SERVER_H_
6 #define CHROMECAST_BROWSER_DEVTOOLS_REMOTE_DEBUGGING_SERVER_H_ 6 #define CHROMECAST_BROWSER_DEVTOOLS_REMOTE_DEBUGGING_SERVER_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "base/prefs/pref_member.h" 9 #include "base/prefs/pref_member.h"
10 10
(...skipping 12 matching lines...) Expand all
23 ~RemoteDebuggingServer(); 23 ~RemoteDebuggingServer();
24 24
25 private: 25 private:
26 // Called on port number changed. 26 // Called on port number changed.
27 void OnPortChanged(); 27 void OnPortChanged();
28 28
29 // Returns whether or not the remote debugging server should be available 29 // Returns whether or not the remote debugging server should be available
30 // on device startup. 30 // on device startup.
31 bool ShouldStartImmediately(); 31 bool ShouldStartImmediately();
32 32
33 // TODO(dgozman): remove once devtools_discovery component is extracted.
34 scoped_ptr<CastDevToolsManagerDelegate> manager_delegate_;
35 scoped_ptr<devtools_http_handler::DevToolsHttpHandler> devtools_http_handler_; 33 scoped_ptr<devtools_http_handler::DevToolsHttpHandler> devtools_http_handler_;
36 34
37 IntegerPrefMember pref_port_; 35 IntegerPrefMember pref_port_;
38 uint16 port_; 36 uint16 port_;
39 37
40 DISALLOW_COPY_AND_ASSIGN(RemoteDebuggingServer); 38 DISALLOW_COPY_AND_ASSIGN(RemoteDebuggingServer);
41 }; 39 };
42 40
43 } // namespace shell 41 } // namespace shell
44 } // namespace chromecast 42 } // namespace chromecast
45 43
46 #endif // CHROMECAST_BROWSER_DEVTOOLS_REMOTE_DEBUGGING_SERVER_H_ 44 #endif // CHROMECAST_BROWSER_DEVTOOLS_REMOTE_DEBUGGING_SERVER_H_
OLDNEW
« no previous file with comments | « chromecast/browser/devtools/cast_dev_tools_delegate.cc ('k') | chromecast/browser/devtools/remote_debugging_server.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698