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

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

Issue 1124883004: Submission for C++ Readability (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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 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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698