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

Unified Diff: chrome/browser/chromeos/bluetooth/test/mock_bluetooth_adapter.cc

Issue 10837294: Add bluetooth.getName API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review comments Created 8 years, 4 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: chrome/browser/chromeos/bluetooth/test/mock_bluetooth_adapter.cc
diff --git a/chrome/browser/chromeos/bluetooth/test/mock_bluetooth_adapter.cc b/chrome/browser/chromeos/bluetooth/test/mock_bluetooth_adapter.cc
index f3d17cf3d50846ab9969b55083e1dd523164fcd6..b3e6375e0dc7b17598730bcd12e492da6b758cc5 100644
--- a/chrome/browser/chromeos/bluetooth/test/mock_bluetooth_adapter.cc
+++ b/chrome/browser/chromeos/bluetooth/test/mock_bluetooth_adapter.cc
@@ -9,7 +9,12 @@ namespace chromeos {
MockBluetoothAdapter::Observer::Observer() {}
MockBluetoothAdapter::Observer::~Observer() {}
-MockBluetoothAdapter::MockBluetoothAdapter() {}
+MockBluetoothAdapter::MockBluetoothAdapter(const std::string& address,
+ const std::string& name) {
+ address_ = address;
+ name_ = name;
+}
+
MockBluetoothAdapter::~MockBluetoothAdapter() {}
} // namespace chromeos

Powered by Google App Engine
This is Rietveld 408576698