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

Unified 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, 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « device/bluetooth/bluetooth_advertisement.h ('k') | device/bluetooth/bluetooth_advertisement_chromeos.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/bluetooth/bluetooth_advertisement.cc
diff --git a/device/bluetooth/bluetooth_advertisement.cc b/device/bluetooth/bluetooth_advertisement.cc
deleted file mode 100644
index 05b0e52d2223154dcc3a4a9ac5c8aa5cc379ae7d..0000000000000000000000000000000000000000
--- a/device/bluetooth/bluetooth_advertisement.cc
+++ /dev/null
@@ -1,37 +0,0 @@
-// Copyright 2015 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "device/bluetooth/bluetooth_advertisement.h"
-
-namespace device {
-
-BluetoothAdvertisement::Data::Data(AdvertisementType type)
- : type_(type), include_tx_power_(false) {
-}
-
-BluetoothAdvertisement::Data::~Data() {
-}
-
-BluetoothAdvertisement::Data::Data()
- : type_(ADVERTISEMENT_TYPE_BROADCAST), include_tx_power_(false) {
-}
-
-void BluetoothAdvertisement::AddObserver(
- BluetoothAdvertisement::Observer* observer) {
- CHECK(observer);
- observers_.AddObserver(observer);
-}
-
-void BluetoothAdvertisement::RemoveObserver(
- BluetoothAdvertisement::Observer* observer) {
- CHECK(observer);
- observers_.RemoveObserver(observer);
-}
-
-BluetoothAdvertisement::BluetoothAdvertisement() {
-}
-BluetoothAdvertisement::~BluetoothAdvertisement() {
-}
-
-} // namespace device
« 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