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

Side by Side Diff: device/bluetooth/test/mock_bluetooth_adapter.cc

Issue 1083163002: Expose SetDiscoveryFilter from BluetoothEventRouter (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Another windows build fix Created 5 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "device/bluetooth/test/mock_bluetooth_adapter.h" 5 #include "device/bluetooth/test/mock_bluetooth_adapter.h"
6 6
7 namespace device { 7 namespace device {
8 8
9 MockBluetoothAdapter::Observer::Observer() {} 9 MockBluetoothAdapter::Observer::Observer() {}
10 MockBluetoothAdapter::Observer::~Observer() {} 10 MockBluetoothAdapter::Observer::~Observer() {}
(...skipping 23 matching lines...) Expand all
34 const base::Closure& callback, 34 const base::Closure& callback,
35 const ErrorCallback& error_callback) { 35 const ErrorCallback& error_callback) {
36 } 36 }
37 37
38 void MockBluetoothAdapter::SetDiscoveryFilter( 38 void MockBluetoothAdapter::SetDiscoveryFilter(
39 scoped_ptr<BluetoothDiscoveryFilter> discovery_filter, 39 scoped_ptr<BluetoothDiscoveryFilter> discovery_filter,
40 const base::Closure& callback, 40 const base::Closure& callback,
41 const ErrorCallback& error_callback) { 41 const ErrorCallback& error_callback) {
42 } 42 }
43 43
44 void MockBluetoothAdapter::StartDiscoverySessionWithFilter(
45 scoped_ptr<BluetoothDiscoveryFilter> discovery_filter,
46 const DiscoverySessionCallback& callback,
47 const ErrorCallback& error_callback) {
48 StartDiscoverySessionWithFilterRaw(discovery_filter.get(), callback,
49 error_callback);
50 }
51
44 } // namespace device 52 } // namespace device
OLDNEW
« no previous file with comments | « device/bluetooth/test/mock_bluetooth_adapter.h ('k') | extensions/browser/api/bluetooth/bluetooth_event_router.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698