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

Unified Diff: chrome/browser/devtools/device/usb/android_usb_device.h

Issue 2767893002: Remove ScopedVector from chrome/browser/. (Closed)
Patch Set: Created 3 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/devtools/device/usb/android_usb_device.h
diff --git a/chrome/browser/devtools/device/usb/android_usb_device.h b/chrome/browser/devtools/device/usb/android_usb_device.h
index 62294974b8f6921a753a408c6dfd9701ce01e7e7..4dfb7bc66ad15b8caefc831140e519810d2a959a 100644
--- a/chrome/browser/devtools/device/usb/android_usb_device.h
+++ b/chrome/browser/devtools/device/usb/android_usb_device.h
@@ -15,7 +15,6 @@
#include "base/macros.h"
#include "base/memory/ref_counted.h"
-#include "base/memory/scoped_vector.h"
#include "base/memory/weak_ptr.h"
#include "device/usb/usb_device_handle.h"
@@ -161,7 +160,7 @@ class AndroidUsbDevice : public base::RefCountedThreadSafe<AndroidUsbDevice> {
std::queue<BulkMessage> outgoing_queue_;
// Outgoing messages pending connect
- typedef ScopedVector<AdbMessage> PendingMessages;
+ typedef std::vector<std::unique_ptr<AdbMessage>> PendingMessages;
Lei Zhang 2017/03/23 02:59:26 Convert to using PendingMessages = std::vector<std
leonhsl(Using Gerrit) 2017/03/23 15:03:17 Done.
PendingMessages pending_messages_;
base::WeakPtrFactory<AndroidUsbDevice> weak_factory_;

Powered by Google App Engine
This is Rietveld 408576698