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

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

Issue 1542163002: Switch to standard integer types in device/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: win Created 4 years, 12 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 2014 The Chromium Authors. All rights reserved. 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 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/bluetooth_gatt_descriptor.h" 5 #include "device/bluetooth/bluetooth_gatt_descriptor.h"
6 6
7 #include <stddef.h>
8
7 #include <vector> 9 #include <vector>
8 10
9 #include "base/lazy_instance.h" 11 #include "base/lazy_instance.h"
10 #include "base/logging.h" 12 #include "base/logging.h"
11 #include "base/macros.h" 13 #include "base/macros.h"
12 14
13 namespace device { 15 namespace device {
14 namespace { 16 namespace {
15 17
16 struct UUIDs { 18 struct UUIDs {
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 76
75 BluetoothGattDescriptor::BluetoothGattDescriptor() { 77 BluetoothGattDescriptor::BluetoothGattDescriptor() {
76 } 78 }
77 79
78 BluetoothGattDescriptor::~BluetoothGattDescriptor() { 80 BluetoothGattDescriptor::~BluetoothGattDescriptor() {
79 } 81 }
80 82
81 // static 83 // static
82 BluetoothGattDescriptor* BluetoothGattDescriptor::Create( 84 BluetoothGattDescriptor* BluetoothGattDescriptor::Create(
83 const BluetoothUUID& uuid, 85 const BluetoothUUID& uuid,
84 const std::vector<uint8>& value, 86 const std::vector<uint8_t>& value,
85 BluetoothGattCharacteristic::Permissions permissions) { 87 BluetoothGattCharacteristic::Permissions permissions) {
86 LOG(ERROR) << "Creating local GATT characteristic descriptors currently not " 88 LOG(ERROR) << "Creating local GATT characteristic descriptors currently not "
87 << "supported."; 89 << "supported.";
88 return NULL; 90 return NULL;
89 } 91 }
90 92
91 } // namespace device 93 } // namespace device
OLDNEW
« no previous file with comments | « device/bluetooth/bluetooth_gatt_descriptor.h ('k') | device/bluetooth/bluetooth_gatt_notify_session.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698