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

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

Issue 722503002: Use uint16 for port numbers, misc edition (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Self-review Created 6 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 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/prefs/pref_member.h" 8 #include "base/prefs/pref_member.h"
9 9
10 namespace content { 10 namespace content {
(...skipping 12 matching lines...) Expand all
23 // Called on port number changed. 23 // Called on port number changed.
24 void OnPortChanged(); 24 void OnPortChanged();
25 25
26 // Returns whether or not the remote debugging server should be available 26 // Returns whether or not the remote debugging server should be available
27 // on device startup. 27 // on device startup.
28 bool ShouldStartImmediately(); 28 bool ShouldStartImmediately();
29 29
30 content::DevToolsHttpHandler* devtools_http_handler_; 30 content::DevToolsHttpHandler* devtools_http_handler_;
31 31
32 IntegerPrefMember pref_port_; 32 IntegerPrefMember pref_port_;
33 int port_; 33 uint16 port_;
34 34
35 DISALLOW_COPY_AND_ASSIGN(RemoteDebuggingServer); 35 DISALLOW_COPY_AND_ASSIGN(RemoteDebuggingServer);
36 }; 36 };
37 37
38 } // namespace shell 38 } // namespace shell
39 } // namespace chromecast 39 } // namespace chromecast
40 40
41 #endif // CHROMECAST_BROWSER_DEVTOOLS_REMOTE_DEBUGGING_SERVER_H_ 41 #endif // CHROMECAST_BROWSER_DEVTOOLS_REMOTE_DEBUGGING_SERVER_H_
OLDNEW
« no previous file with comments | « no previous file | chromecast/browser/devtools/remote_debugging_server.cc » ('j') | media/cast/test/sender.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698