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

Side by Side Diff: extensions/browser/api/bluetooth_low_energy/bluetooth_api_advertisement.h

Issue 2370373002: Move chrome.bluetoothLowEnergy out of //chrome. (Closed)
Patch Set: build fix Created 4 years, 2 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 2015 The Chromium Authors. All rights reserved. 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 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 #ifndef CHROME_BROWSER_EXTENSIONS_API_BLUETOOTH_LOW_ENERGY_BLUETOOTH_API_ADVERTI SEMENT_H_ 5 #ifndef EXTENSIONS_BROWSER_API_BLUETOOTH_LOW_ENERGY_BLUETOOTH_API_ADVERTISEMENT_ H_
6 #define CHROME_BROWSER_EXTENSIONS_API_BLUETOOTH_LOW_ENERGY_BLUETOOTH_API_ADVERTI SEMENT_H_ 6 #define EXTENSIONS_BROWSER_API_BLUETOOTH_LOW_ENERGY_BLUETOOTH_API_ADVERTISEMENT_ H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "chrome/browser/extensions/api/bluetooth_low_energy/bluetooth_low_energ y_event_router.h"
12 #include "device/bluetooth/bluetooth_advertisement.h" 11 #include "device/bluetooth/bluetooth_advertisement.h"
13 #include "extensions/browser/api/api_resource.h" 12 #include "extensions/browser/api/api_resource.h"
14 #include "extensions/browser/api/api_resource_manager.h" 13 #include "extensions/browser/api/api_resource_manager.h"
14 #include "extensions/browser/api/bluetooth_low_energy/bluetooth_low_energy_event _router.h"
15 15
16 namespace device { 16 namespace device {
17 class BluetoothAdvertisement; 17 class BluetoothAdvertisement;
18 } // namespace device 18 } // namespace device
19 19
20 namespace extensions { 20 namespace extensions {
21 21
22 // Representation of advertisement instances from the "bluetooth" namespace, 22 // Representation of advertisement instances from the "bluetooth" namespace,
23 // abstracting the underlying BluetoothAdvertisementXxx class. All methods 23 // abstracting the underlying BluetoothAdvertisementXxx class. All methods
24 // must be called on the |kThreadId| thread. 24 // must be called on the |kThreadId| thread.
(...skipping 20 matching lines...) Expand all
45 } 45 }
46 46
47 // The underlying advertisement instance. 47 // The underlying advertisement instance.
48 scoped_refptr<device::BluetoothAdvertisement> advertisement_; 48 scoped_refptr<device::BluetoothAdvertisement> advertisement_;
49 49
50 DISALLOW_COPY_AND_ASSIGN(BluetoothApiAdvertisement); 50 DISALLOW_COPY_AND_ASSIGN(BluetoothApiAdvertisement);
51 }; 51 };
52 52
53 } // namespace extensions 53 } // namespace extensions
54 54
55 #endif // CHROME_BROWSER_EXTENSIONS_API_BLUETOOTH_LOW_ENERGY_BLUETOOTH_API_ADVE RTISEMENT_H_ 55 #endif // EXTENSIONS_BROWSER_API_BLUETOOTH_LOW_ENERGY_BLUETOOTH_API_ADVERTISEME NT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698