Move notification sending out of AutocompleteController
[chromium-blink-merge.git] / device / bluetooth / test / mock_bluetooth_gatt_notify_session.cc
bloba4e9843621d11920d47cab102d95ccabbb5c48e5
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_notify_session.h"
7 using testing::Return;
9 namespace device {
11 MockBluetoothGattNotifySession::MockBluetoothGattNotifySession(
12 const std::string& characteristic_identifier) {
13 ON_CALL(*this, GetCharacteristicIdentifier())
14 .WillByDefault(Return(characteristic_identifier));
15 ON_CALL(*this, IsActive()).WillByDefault(Return(true));
18 MockBluetoothGattNotifySession::~MockBluetoothGattNotifySession() {
21 } // namespace device