OLD | NEW |
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 13 matching lines...) Expand all Loading... |
24 // Called on port number changed. | 24 // Called on port number changed. |
25 void OnPortChanged(); | 25 void OnPortChanged(); |
26 | 26 |
27 // Returns whether or not the remote debugging server should be available | 27 // Returns whether or not the remote debugging server should be available |
28 // on device startup. | 28 // on device startup. |
29 bool ShouldStartImmediately(); | 29 bool ShouldStartImmediately(); |
30 | 30 |
31 scoped_ptr<content::DevToolsHttpHandler> devtools_http_handler_; | 31 scoped_ptr<content::DevToolsHttpHandler> devtools_http_handler_; |
32 | 32 |
33 IntegerPrefMember pref_port_; | 33 IntegerPrefMember pref_port_; |
34 int port_; | 34 uint16 port_; |
35 | 35 |
36 DISALLOW_COPY_AND_ASSIGN(RemoteDebuggingServer); | 36 DISALLOW_COPY_AND_ASSIGN(RemoteDebuggingServer); |
37 }; | 37 }; |
38 | 38 |
39 } // namespace shell | 39 } // namespace shell |
40 } // namespace chromecast | 40 } // namespace chromecast |
41 | 41 |
42 #endif // CHROMECAST_BROWSER_DEVTOOLS_REMOTE_DEBUGGING_SERVER_H_ | 42 #endif // CHROMECAST_BROWSER_DEVTOOLS_REMOTE_DEBUGGING_SERVER_H_ |
OLD | NEW |