OLD | NEW |
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_adapter_profile_chromeos.h" | 5 #include "device/bluetooth/bluetooth_adapter_profile_chromeos.h" |
6 | 6 |
7 #include <string> | 7 #include <string> |
8 | 8 |
9 #include "base/bind.h" | 9 #include "base/bind.h" |
10 #include "base/logging.h" | 10 #include "base/logging.h" |
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
153 // Cancel() should only go to a delegate accepting connections. | 153 // Cancel() should only go to a delegate accepting connections. |
154 if (delegates_.find("") == delegates_.end()) { | 154 if (delegates_.find("") == delegates_.end()) { |
155 VLOG(1) << object_path_.value() << ": Cancel with no delegate!"; | 155 VLOG(1) << object_path_.value() << ": Cancel with no delegate!"; |
156 return; | 156 return; |
157 } | 157 } |
158 | 158 |
159 delegates_[""]->Cancel(); | 159 delegates_[""]->Cancel(); |
160 } | 160 } |
161 | 161 |
162 } // namespace chromeos | 162 } // namespace chromeos |
| 163 |
OLD | NEW |