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

Unified Diff: trunk/src/device/bluetooth/bluetooth_profile_chromeos_unittest.cc

Issue 227493006: Revert 262175 "* Replace "read" method with onReceiveXxx events." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 8 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
Index: trunk/src/device/bluetooth/bluetooth_profile_chromeos_unittest.cc
===================================================================
--- trunk/src/device/bluetooth/bluetooth_profile_chromeos_unittest.cc (revision 262179)
+++ trunk/src/device/bluetooth/bluetooth_profile_chromeos_unittest.cc (working copy)
@@ -92,10 +92,6 @@
message_loop_.Quit();
}
- void ConnectToProfileErrorCallback(const std::string error) {
- ErrorCallback();
- }
-
void ProfileCallback(BluetoothProfile* profile) {
++profile_callback_count_;
last_profile_ = profile;
@@ -161,7 +157,7 @@
profile,
base::Bind(&BluetoothProfileChromeOSTest::Callback,
base::Unretained(this)),
- base::Bind(&BluetoothProfileChromeOSTest::ConnectToProfileErrorCallback,
+ base::Bind(&BluetoothProfileChromeOSTest::ErrorCallback,
base::Unretained(this)));
message_loop_.Run();
@@ -287,7 +283,7 @@
profile,
base::Bind(&BluetoothProfileChromeOSTest::Callback,
base::Unretained(this)),
- base::Bind(&BluetoothProfileChromeOSTest::ConnectToProfileErrorCallback,
+ base::Bind(&BluetoothProfileChromeOSTest::ErrorCallback,
base::Unretained(this)));
message_loop_.Run();
« no previous file with comments | « trunk/src/device/bluetooth/bluetooth_device_win_unittest.cc ('k') | trunk/src/device/bluetooth/bluetooth_profile_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698