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

Side by Side Diff: device/bluetooth/bluetooth_discovery_filter.cc

Issue 2463603002: Remove the use of STLDeleteContainerPointers from ScopedVector. (Closed)
Patch Set: reparent Created 4 years, 1 month 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 "device/bluetooth/bluetooth_discovery_filter.h" 5 #include "device/bluetooth/bluetooth_discovery_filter.h"
6 6
7 #include <algorithm>
7 #include <memory> 8 #include <memory>
8 9
9 #include "device/bluetooth/bluetooth_common.h" 10 #include "device/bluetooth/bluetooth_common.h"
10 11
11 namespace device { 12 namespace device {
12 13
13 BluetoothDiscoveryFilter::BluetoothDiscoveryFilter( 14 BluetoothDiscoveryFilter::BluetoothDiscoveryFilter(
14 BluetoothTransport transport) { 15 BluetoothTransport transport) {
15 SetTransport(transport); 16 SetTransport(transport);
16 } 17 }
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 174
174 return true; 175 return true;
175 } 176 }
176 177
177 bool BluetoothDiscoveryFilter::IsDefault() const { 178 bool BluetoothDiscoveryFilter::IsDefault() const {
178 return !(rssi_.get() || pathloss_.get() || uuids_.size() || 179 return !(rssi_.get() || pathloss_.get() || uuids_.size() ||
179 transport_ != BLUETOOTH_TRANSPORT_DUAL); 180 transport_ != BLUETOOTH_TRANSPORT_DUAL);
180 } 181 }
181 182
182 } // namespace device 183 } // namespace device
OLDNEW
« no previous file with comments | « components/autofill/core/browser/phone_field_unittest.cc ('k') | media/base/multi_channel_resampler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698