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

Unified Diff: tools/battor_agent/battor_finder.cc

Issue 2607063002: Remove mojo::Array. (Closed)
Patch Set: rebase Created 3 years, 11 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: tools/battor_agent/battor_finder.cc
diff --git a/tools/battor_agent/battor_finder.cc b/tools/battor_agent/battor_finder.cc
index 6137c3b79ff5e73b5ca54429734a71c8f98057b0..c47def55103224f36c9ff19ce263a26897cfd744 100644
--- a/tools/battor_agent/battor_finder.cc
+++ b/tools/battor_agent/battor_finder.cc
@@ -8,7 +8,6 @@
#include "base/logging.h"
#include "device/serial/serial.mojom.h"
#include "device/serial/serial_device_enumerator.h"
-#include "mojo/public/cpp/bindings/array.h"
namespace battor {
@@ -28,7 +27,7 @@ std::string BattOrFinder::FindBattOr() {
std::unique_ptr<device::SerialDeviceEnumerator> serial_device_enumerator =
device::SerialDeviceEnumerator::Create();
- mojo::Array<device::serial::DeviceInfoPtr> devices =
+ std::vector<device::serial::DeviceInfoPtr> devices =
serial_device_enumerator->GetDevices();
std::string switch_specified_path =

Powered by Google App Engine
This is Rietveld 408576698