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

Side by Side Diff: chrome/browser/devtools/adb/android_usb_socket.h

Issue 230773003: DevTools: do not retain android_usb_devices in their manager. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Review comments addressed. Created 6 years, 8 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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_ADB_ANDROID_USB_SOCKET_H_ 5 #ifndef CHROME_BROWSER_DEVTOOLS_ADB_ANDROID_USB_SOCKET_H_
6 #define CHROME_BROWSER_DEVTOOLS_ADB_ANDROID_USB_SOCKET_H_ 6 #define CHROME_BROWSER_DEVTOOLS_ADB_ANDROID_USB_SOCKET_H_
7 7
8 #include <deque> 8 #include <deque>
9 9
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 void RespondToReaders(bool diconnect); 71 void RespondToReaders(bool diconnect);
72 void RespondToWriters(); 72 void RespondToWriters();
73 73
74 scoped_refptr<AndroidUsbDevice> device_; 74 scoped_refptr<AndroidUsbDevice> device_;
75 std::string command_; 75 std::string command_;
76 base::Callback<void(uint32)> delete_callback_; 76 base::Callback<void(uint32)> delete_callback_;
77 uint32 local_id_; 77 uint32 local_id_;
78 uint32 remote_id_; 78 uint32 remote_id_;
79 net::BoundNetLog net_log_; 79 net::BoundNetLog net_log_;
80 bool is_connected_; 80 bool is_connected_;
81 bool is_closed_;
82 std::string read_buffer_; 81 std::string read_buffer_;
83 net::CompletionCallback connect_callback_; 82 net::CompletionCallback connect_callback_;
84 std::deque<IORequest> read_requests_; 83 std::deque<IORequest> read_requests_;
85 std::deque<IORequest> write_requests_; 84 std::deque<IORequest> write_requests_;
86 85
87 DISALLOW_COPY_AND_ASSIGN(AndroidUsbSocket); 86 DISALLOW_COPY_AND_ASSIGN(AndroidUsbSocket);
88 }; 87 };
89 88
90 #endif // CHROME_BROWSER_DEVTOOLS_ADB_ANDROID_USB_SOCKET_H_ 89 #endif // CHROME_BROWSER_DEVTOOLS_ADB_ANDROID_USB_SOCKET_H_
OLDNEW
« no previous file with comments | « chrome/browser/devtools/adb/android_usb_device.cc ('k') | chrome/browser/devtools/adb/android_usb_socket.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698