Roll src/third_party/WebKit 787a07c:716df21 (svn 201034:201036)
[chromium-blink-merge.git] / device / bluetooth / test / mock_bluetooth_gatt_connection.cc
blob7f06a9f1bf705ed6a7b6a8948bcd00e727de9af1
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "device/bluetooth/test/mock_bluetooth_gatt_connection.h"
7 using ::testing::Return;
9 namespace device {
11 MockBluetoothGattConnection::MockBluetoothGattConnection(
12 const std::string& device_address) {
13 ON_CALL(*this, GetDeviceAddress()).WillByDefault(Return(device_address));
14 ON_CALL(*this, IsConnected()).WillByDefault(Return(true));
17 MockBluetoothGattConnection::~MockBluetoothGattConnection() {}
19 } // namespace device