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

Side by Side Diff: chrome/browser/devtools/device/tcp_device_provider.h

Issue 1542413002: Switch to standard integer types in chrome/browser/, part 1 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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 CHROME_BROWSER_DEVTOOLS_DEVICE_TCP_DEVICE_PROVIDER_H_ 5 #ifndef CHROME_BROWSER_DEVTOOLS_DEVICE_TCP_DEVICE_PROVIDER_H_
6 #define CHROME_BROWSER_DEVTOOLS_DEVICE_TCP_DEVICE_PROVIDER_H_ 6 #define CHROME_BROWSER_DEVTOOLS_DEVICE_TCP_DEVICE_PROVIDER_H_
7 7
8 #include <stdint.h>
9
8 #include <set> 10 #include <set>
9 11
10 #include "chrome/browser/devtools/device/android_device_manager.h" 12 #include "chrome/browser/devtools/device/android_device_manager.h"
11 #include "net/base/host_port_pair.h" 13 #include "net/base/host_port_pair.h"
12 14
13 // Instantiate this class only in a test and/or when DEBUG_DEVTOOLS is defined. 15 // Instantiate this class only in a test and/or when DEBUG_DEVTOOLS is defined.
14 class TCPDeviceProvider : public AndroidDeviceManager::DeviceProvider { 16 class TCPDeviceProvider : public AndroidDeviceManager::DeviceProvider {
15 public: 17 public:
16 static scoped_refptr<TCPDeviceProvider> CreateForLocalhost(uint16_t port); 18 static scoped_refptr<TCPDeviceProvider> CreateForLocalhost(uint16_t port);
17 19
(...skipping 14 matching lines...) Expand all
32 void set_release_callback_for_test(const base::Closure& callback); 34 void set_release_callback_for_test(const base::Closure& callback);
33 35
34 private: 36 private:
35 ~TCPDeviceProvider() override; 37 ~TCPDeviceProvider() override;
36 38
37 HostPortSet targets_; 39 HostPortSet targets_;
38 base::Closure release_callback_; 40 base::Closure release_callback_;
39 }; 41 };
40 42
41 #endif // CHROME_BROWSER_DEVTOOLS_DEVICE_TCP_DEVICE_PROVIDER_H_ 43 #endif // CHROME_BROWSER_DEVTOOLS_DEVICE_TCP_DEVICE_PROVIDER_H_
OLDNEW
« no previous file with comments | « chrome/browser/devtools/device/port_forwarding_controller.cc ('k') | chrome/browser/devtools/device/usb/android_rsa.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698