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

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

Issue 655063002: Use uint16 for port numbers more pervasively. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Revert bad change 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_BROWSER_LIST_TABCONTENTS_PROVIDER_H_ 5 #ifndef CHROME_BROWSER_DEVTOOLS_BROWSER_LIST_TABCONTENTS_PROVIDER_H_
6 #define CHROME_BROWSER_DEVTOOLS_BROWSER_LIST_TABCONTENTS_PROVIDER_H_ 6 #define CHROME_BROWSER_DEVTOOLS_BROWSER_LIST_TABCONTENTS_PROVIDER_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 10
(...skipping 13 matching lines...) Expand all
24 24
25 // DevToolsHttpProtocolHandler::Delegate overrides. 25 // DevToolsHttpProtocolHandler::Delegate overrides.
26 std::string GetDiscoveryPageHTML() override; 26 std::string GetDiscoveryPageHTML() override;
27 bool BundlesFrontendResources() override; 27 bool BundlesFrontendResources() override;
28 base::FilePath GetDebugFrontendDir() override; 28 base::FilePath GetDebugFrontendDir() override;
29 scoped_ptr<net::ServerSocket> CreateSocketForTethering( 29 scoped_ptr<net::ServerSocket> CreateSocketForTethering(
30 std::string* name) override; 30 std::string* name) override;
31 31
32 private: 32 private:
33 chrome::HostDesktopType host_desktop_type_; 33 chrome::HostDesktopType host_desktop_type_;
34 int last_tethering_port_; 34 uint16 last_tethering_port_;
35 DISALLOW_COPY_AND_ASSIGN(BrowserListTabContentsProvider); 35 DISALLOW_COPY_AND_ASSIGN(BrowserListTabContentsProvider);
36 }; 36 };
37 37
38 #endif // CHROME_BROWSER_DEVTOOLS_BROWSER_LIST_TABCONTENTS_PROVIDER_H_ 38 #endif // CHROME_BROWSER_DEVTOOLS_BROWSER_LIST_TABCONTENTS_PROVIDER_H_
OLDNEW
« no previous file with comments | « chrome/browser/chrome_browser_main.cc ('k') | chrome/browser/devtools/browser_list_tabcontents_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698