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

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

Issue 10837294: Add bluetooth.getName API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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.h
diff --git a/chrome/browser/chromeos/bluetooth/test/mock_bluetooth_adapter.h b/chrome/browser/chromeos/bluetooth/test/mock_bluetooth_adapter.h
index 2335a81993720253b78fde81e5dd3aae86a7bd28..fc002b3fe13bc5108d89ad373e07b890c925664e 100644
--- a/chrome/browser/chromeos/bluetooth/test/mock_bluetooth_adapter.h
+++ b/chrome/browser/chromeos/bluetooth/test/mock_bluetooth_adapter.h
@@ -21,6 +21,8 @@ class MockBluetoothAdapter : public BluetoothAdapter {
MOCK_CONST_METHOD0(IsPresent, bool());
MOCK_CONST_METHOD0(IsPowered, bool());
+ MOCK_CONST_METHOD0(address, const std::string&());
+ MOCK_CONST_METHOD0(name, const std::string&());
MOCK_CONST_METHOD0(IsDiscovering, bool());
MOCK_METHOD3(SetDiscovering,
void(bool discovering,

Powered by Google App Engine
This is Rietveld 408576698