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

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

Issue 12929003: Implemented BluetoothAdapterMac::AddDevices(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: DeviceRemoved obsolete in OSX. Created 7 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_device_chromeos.h" 5 #include "device/bluetooth/bluetooth_device_chromeos.h"
6 6
7 #include <map> 7 #include <map>
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 30 matching lines...) Expand all
41 namespace { 41 namespace {
42 42
43 void DoNothingServiceRecordList(const BluetoothDevice::ServiceRecordList&) {} 43 void DoNothingServiceRecordList(const BluetoothDevice::ServiceRecordList&) {}
44 44
45 } // namespace 45 } // namespace
46 46
47 namespace chromeos { 47 namespace chromeos {
48 48
49 BluetoothDeviceChromeOS::BluetoothDeviceChromeOS( 49 BluetoothDeviceChromeOS::BluetoothDeviceChromeOS(
50 BluetoothAdapterChromeOS* adapter) 50 BluetoothAdapterChromeOS* adapter)
51 : BluetoothDevice(), 51 : BluetoothDevice("", "", 0, false, false),
Mark Mentovai 2013/03/19 19:14:20 Fix indentation. The : should line up with the B f
youngki 2013/03/20 18:48:27 Done.
52 adapter_(adapter), 52 adapter_(adapter),
53 pairing_delegate_(NULL), 53 pairing_delegate_(NULL),
54 connecting_applications_counter_(0), 54 connecting_applications_counter_(0),
55 connecting_calls_(0), 55 connecting_calls_(0),
56 service_records_loaded_(false), 56 service_records_loaded_(false),
57 weak_ptr_factory_(this) { 57 weak_ptr_factory_(this) {
58 } 58 }
59 59
60 BluetoothDeviceChromeOS::~BluetoothDeviceChromeOS() { 60 BluetoothDeviceChromeOS::~BluetoothDeviceChromeOS() {
61 } 61 }
(...skipping 785 matching lines...) Expand 10 before | Expand all | Expand 10 after
847 } 847 }
848 848
849 849
850 // static 850 // static
851 BluetoothDeviceChromeOS* BluetoothDeviceChromeOS::Create( 851 BluetoothDeviceChromeOS* BluetoothDeviceChromeOS::Create(
852 BluetoothAdapterChromeOS* adapter) { 852 BluetoothAdapterChromeOS* adapter) {
853 return new BluetoothDeviceChromeOS(adapter); 853 return new BluetoothDeviceChromeOS(adapter);
854 } 854 }
855 855
856 } // namespace chromeos 856 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698