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

Side by Side Diff: components/arc/bluetooth/bluetooth_struct_traits.cc

Issue 2598963005: Include-what-you-use for WrapUnique/MakeUnique. (Closed)
Patch Set: restore order of includes in x11_topmost_window_finder_interactive_uitest.cc Created 3 years, 12 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
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 #include "components/arc/bluetooth/bluetooth_struct_traits.h" 5 #include "components/arc/bluetooth/bluetooth_struct_traits.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/memory/ptr_util.h"
10 #include "base/strings/string_number_conversions.h" 11 #include "base/strings/string_number_conversions.h"
11 #include "base/strings/stringprintf.h" 12 #include "base/strings/stringprintf.h"
12 #include "device/bluetooth/bluetooth_advertisement.h" 13 #include "device/bluetooth/bluetooth_advertisement.h"
13 #include "device/bluetooth/bluetooth_uuid.h" 14 #include "device/bluetooth/bluetooth_uuid.h"
14 15
15 namespace { 16 namespace {
16 17
17 // BluetoothUUID helpers. 18 // BluetoothUUID helpers.
18 constexpr size_t kUUIDSize = 16; 19 constexpr size_t kUUIDSize = 16;
19 20
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after
229 for (const auto& adv_entry : adv_entries) 230 for (const auto& adv_entry : adv_entries)
230 adv_entry->AddTo(data.get()); 231 adv_entry->AddTo(data.get());
231 232
232 data->set_include_tx_power(advertisement.include_tx_power()); 233 data->set_include_tx_power(advertisement.include_tx_power());
233 234
234 *output = std::move(data); 235 *output = std::move(data);
235 return true; 236 return true;
236 } 237 }
237 238
238 } // namespace mojo 239 } // namespace mojo
OLDNEW
« no previous file with comments | « components/arc/bluetooth/arc_bluetooth_bridge_unittest.cc ('k') | components/arc/bluetooth/bluetooth_type_converters.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698