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

Side by Side Diff: device/bluetooth/bluetooth_advertisement.cc

Issue 1111563002: Revert of Add CPP API for BLE advertisments. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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
(Empty)
1 // Copyright 2015 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.
4
5 #include "device/bluetooth/bluetooth_advertisement.h"
6
7 namespace device {
8
9 BluetoothAdvertisement::Data::Data(AdvertisementType type)
10 : type_(type), include_tx_power_(false) {
11 }
12
13 BluetoothAdvertisement::Data::~Data() {
14 }
15
16 BluetoothAdvertisement::Data::Data()
17 : type_(ADVERTISEMENT_TYPE_BROADCAST), include_tx_power_(false) {
18 }
19
20 void BluetoothAdvertisement::AddObserver(
21 BluetoothAdvertisement::Observer* observer) {
22 CHECK(observer);
23 observers_.AddObserver(observer);
24 }
25
26 void BluetoothAdvertisement::RemoveObserver(
27 BluetoothAdvertisement::Observer* observer) {
28 CHECK(observer);
29 observers_.RemoveObserver(observer);
30 }
31
32 BluetoothAdvertisement::BluetoothAdvertisement() {
33 }
34 BluetoothAdvertisement::~BluetoothAdvertisement() {
35 }
36
37 } // namespace device
OLDNEW
« no previous file with comments | « device/bluetooth/bluetooth_advertisement.h ('k') | device/bluetooth/bluetooth_advertisement_chromeos.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698