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

Unified Diff: content/browser/devtools/protocol/tethering_handler.h

Issue 717373002: Use uint16 for port numbers, content/ 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/devtools/protocol/tethering_handler.h
diff --git a/content/browser/devtools/protocol/tethering_handler.h b/content/browser/devtools/protocol/tethering_handler.h
index a1b808217258549e300ed752f49d598f4150421f..89467c9dd3cc4604f92d8c9c7e4e8e17667e7800 100644
--- a/content/browser/devtools/protocol/tethering_handler.h
+++ b/content/browser/devtools/protocol/tethering_handler.h
@@ -26,14 +26,14 @@ class TetheringHandler {
void SetClient(scoped_ptr<Client> client);
scoped_refptr<DevToolsProtocol::Response> Bind(
- int port, scoped_refptr<DevToolsProtocol::Command> command);
+ uint16 port, scoped_refptr<DevToolsProtocol::Command> command);
scoped_refptr<DevToolsProtocol::Response> Unbind(
- int port, scoped_refptr<DevToolsProtocol::Command> command);
+ uint16 port, scoped_refptr<DevToolsProtocol::Command> command);
private:
class TetheringImpl;
- void Accepted(int port, const std::string& name);
+ void Accepted(uint16 port, const std::string& name);
bool Activate();
void SendBindSuccess(scoped_refptr<DevToolsProtocol::Command> command);
« no previous file with comments | « content/browser/devtools/devtools_http_handler_unittest.cc ('k') | content/browser/devtools/protocol/tethering_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698