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

Unified Diff: chromeos/dbus/fake_bluetooth_profile_manager_client.cc

Issue 1124883004: Submission for C++ Readability (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: revert overrides Created 5 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chromeos/dbus/fake_bluetooth_profile_service_provider.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/dbus/fake_bluetooth_profile_manager_client.cc
diff --git a/chromeos/dbus/fake_bluetooth_profile_manager_client.cc b/chromeos/dbus/fake_bluetooth_profile_manager_client.cc
index d9910a4e7313721f50096111e05f1f4f71562725..bba54a87d83f072c821e050188a62c0ecc01c350 100644
--- a/chromeos/dbus/fake_bluetooth_profile_manager_client.cc
+++ b/chromeos/dbus/fake_bluetooth_profile_manager_client.cc
@@ -48,7 +48,7 @@ void FakeBluetoothProfileManagerClient::RegisterProfile(
return;
}
- // check options for channel & psm
+ // TODO(jamuraa): check options for channel & psm
ServiceProviderMap::iterator iter = service_provider_map_.find(profile_path);
if (iter == service_provider_map_.end()) {
@@ -107,7 +107,7 @@ FakeBluetoothProfileManagerClient::GetProfileServiceProvider(
const std::string& uuid) {
ProfileMap::iterator iter = profile_map_.find(uuid);
if (iter == profile_map_.end())
- return NULL;
+ return nullptr;
return service_provider_map_[iter->second];
}
« no previous file with comments | « no previous file | chromeos/dbus/fake_bluetooth_profile_service_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698