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

Unified Diff: device/usb/mojo/type_converters.cc

Issue 1682363002: Remove //device/devices_app. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove two files that somehow survived in //device/devices_app. Created 4 years, 10 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
« no previous file with comments | « device/usb/mojo/type_converters.h ('k') | device/usb/public/interfaces/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/usb/mojo/type_converters.cc
diff --git a/device/devices_app/usb/type_converters.cc b/device/usb/mojo/type_converters.cc
similarity index 98%
rename from device/devices_app/usb/type_converters.cc
rename to device/usb/mojo/type_converters.cc
index 709b0ca3621dcfe8514686b43bc230d1c20c1b04..0145abd1ff2d2c96de49d4a15494c4fcee4f70cd 100644
--- a/device/devices_app/usb/type_converters.cc
+++ b/device/usb/mojo/type_converters.cc
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "device/devices_app/usb/type_converters.h"
+#include "device/usb/mojo/type_converters.h"
#include <stddef.h>
#include <stdint.h>
@@ -185,8 +185,10 @@ TypeConverter<mojo::Array<device::usb::InterfaceInfoPtr>,
// This is the first time we're seeing an alternate with this interface
// number, so add a new InterfaceInfo to the array and map the number.
auto info = device::usb::InterfaceInfo::New();
- iter = interface_map.insert(std::make_pair(interfaces[i].interface_number,
- info.get())).first;
+ iter = interface_map
+ .insert(
+ std::make_pair(interfaces[i].interface_number, info.get()))
+ .first;
infos.push_back(std::move(info));
}
iter->second->alternates.push_back(std::move(alternate));
« no previous file with comments | « device/usb/mojo/type_converters.h ('k') | device/usb/public/interfaces/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698