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

Side by Side Diff: chrome/browser/devtools/device/usb/android_usb_socket.h

Issue 1821633003: net: remove UsingTCPFastOpen() method from StreamSocket class (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove use_tcp_fastopen_ from transport_client_socket_pool_test_util.cc Created 4 years, 9 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
« no previous file with comments | « no previous file | chrome/browser/devtools/device/usb/android_usb_socket.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_USB_ANDROID_USB_SOCKET_H_ 5 #ifndef CHROME_BROWSER_DEVTOOLS_DEVICE_USB_ANDROID_USB_SOCKET_H_
6 #define CHROME_BROWSER_DEVTOOLS_DEVICE_USB_ANDROID_USB_SOCKET_H_ 6 #define CHROME_BROWSER_DEVTOOLS_DEVICE_USB_ANDROID_USB_SOCKET_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 int Connect(const net::CompletionCallback& callback) override; 44 int Connect(const net::CompletionCallback& callback) override;
45 void Disconnect() override; 45 void Disconnect() override;
46 bool IsConnected() const override; 46 bool IsConnected() const override;
47 bool IsConnectedAndIdle() const override; 47 bool IsConnectedAndIdle() const override;
48 int GetPeerAddress(net::IPEndPoint* address) const override; 48 int GetPeerAddress(net::IPEndPoint* address) const override;
49 int GetLocalAddress(net::IPEndPoint* address) const override; 49 int GetLocalAddress(net::IPEndPoint* address) const override;
50 const net::BoundNetLog& NetLog() const override; 50 const net::BoundNetLog& NetLog() const override;
51 void SetSubresourceSpeculation() override; 51 void SetSubresourceSpeculation() override;
52 void SetOmniboxSpeculation() override; 52 void SetOmniboxSpeculation() override;
53 bool WasEverUsed() const override; 53 bool WasEverUsed() const override;
54 bool UsingTCPFastOpen() const override;
55 bool WasNpnNegotiated() const override; 54 bool WasNpnNegotiated() const override;
56 net::NextProto GetNegotiatedProtocol() const override; 55 net::NextProto GetNegotiatedProtocol() const override;
57 bool GetSSLInfo(net::SSLInfo* ssl_info) override; 56 bool GetSSLInfo(net::SSLInfo* ssl_info) override;
58 void GetConnectionAttempts(net::ConnectionAttempts* out) const override; 57 void GetConnectionAttempts(net::ConnectionAttempts* out) const override;
59 void ClearConnectionAttempts() override {} 58 void ClearConnectionAttempts() override {}
60 void AddConnectionAttempts(const net::ConnectionAttempts& attempts) override { 59 void AddConnectionAttempts(const net::ConnectionAttempts& attempts) override {
61 } 60 }
62 int64_t GetTotalReceivedBytes() const override; 61 int64_t GetTotalReceivedBytes() const override;
63 62
64 private: 63 private:
(...skipping 13 matching lines...) Expand all
78 net::CompletionCallback connect_callback_; 77 net::CompletionCallback connect_callback_;
79 net::CompletionCallback read_callback_; 78 net::CompletionCallback read_callback_;
80 net::CompletionCallback write_callback_; 79 net::CompletionCallback write_callback_;
81 base::Closure delete_callback_; 80 base::Closure delete_callback_;
82 base::WeakPtrFactory<AndroidUsbSocket> weak_factory_; 81 base::WeakPtrFactory<AndroidUsbSocket> weak_factory_;
83 82
84 DISALLOW_COPY_AND_ASSIGN(AndroidUsbSocket); 83 DISALLOW_COPY_AND_ASSIGN(AndroidUsbSocket);
85 }; 84 };
86 85
87 #endif // CHROME_BROWSER_DEVTOOLS_DEVICE_USB_ANDROID_USB_SOCKET_H_ 86 #endif // CHROME_BROWSER_DEVTOOLS_DEVICE_USB_ANDROID_USB_SOCKET_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/devtools/device/usb/android_usb_socket.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698