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

Side by Side Diff: device/bluetooth/bluetooth_low_energy_win.h

Issue 1115293002: win: Fix remaining plugin warnings in ash, device, printing, sandbox. (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
« no previous file with comments | « ash/test/test_suite.cc ('k') | device/bluetooth/bluetooth_low_energy_win.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #ifndef DEVICE_BLUETOOTH_BLUETOOTH_LOW_ENERGY_WIN_H_ 5 #ifndef DEVICE_BLUETOOTH_BLUETOOTH_LOW_ENERGY_WIN_H_
6 #define DEVICE_BLUETOOTH_BLUETOOTH_LOW_ENERGY_WIN_H_ 6 #define DEVICE_BLUETOOTH_BLUETOOTH_LOW_ENERGY_WIN_H_
7 7
8 #include "base/files/file_path.h" 8 #include "base/files/file_path.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/memory/scoped_vector.h" 10 #include "base/memory/scoped_vector.h"
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 // Represents the value associated to a DEVPROPKEY. 50 // Represents the value associated to a DEVPROPKEY.
51 class DEVICE_BLUETOOTH_EXPORT DevicePropertyValue { 51 class DEVICE_BLUETOOTH_EXPORT DevicePropertyValue {
52 public: 52 public:
53 // Creates a property value instance, where |property_type| is one of 53 // Creates a property value instance, where |property_type| is one of
54 // DEVPROP_TYPE_xxx value type , |value| is a byte array containing the 54 // DEVPROP_TYPE_xxx value type , |value| is a byte array containing the
55 // property value and |value_size| is the number of bytes in |value|. Note the 55 // property value and |value_size| is the number of bytes in |value|. Note the
56 // returned instance takes ownership of the bytes in |value|. 56 // returned instance takes ownership of the bytes in |value|.
57 DevicePropertyValue(DEVPROPTYPE property_type, 57 DevicePropertyValue(DEVPROPTYPE property_type,
58 scoped_ptr<uint8_t[]> value, 58 scoped_ptr<uint8_t[]> value,
59 size_t value_size); 59 size_t value_size);
60 ~DevicePropertyValue();
60 61
61 DEVPROPTYPE property_type() const { return property_type_; } 62 DEVPROPTYPE property_type() const { return property_type_; }
62 63
63 uint32_t AsUint32() const; 64 uint32_t AsUint32() const;
64 65
65 private: 66 private:
66 DEVPROPTYPE property_type_; 67 DEVPROPTYPE property_type_;
67 scoped_ptr<uint8_t[]> value_; 68 scoped_ptr<uint8_t[]> value_;
68 size_t value_size_; 69 size_t value_size_;
69 70
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 bool DEVICE_BLUETOOTH_EXPORT 116 bool DEVICE_BLUETOOTH_EXPORT
116 ExtractBluetoothAddressFromDeviceInstanceIdForTesting( 117 ExtractBluetoothAddressFromDeviceInstanceIdForTesting(
117 const std::string& instance_id, 118 const std::string& instance_id,
118 BLUETOOTH_ADDRESS* btha, 119 BLUETOOTH_ADDRESS* btha,
119 std::string* error); 120 std::string* error);
120 121
121 } // namespace win 122 } // namespace win
122 } // namespace device 123 } // namespace device
123 124
124 #endif // DEVICE_BLUETOOTH_BLUETOOTH_LOW_ENERGY_WIN_H_ 125 #endif // DEVICE_BLUETOOTH_BLUETOOTH_LOW_ENERGY_WIN_H_
OLDNEW
« no previous file with comments | « ash/test/test_suite.cc ('k') | device/bluetooth/bluetooth_low_energy_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698