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

Side by Side Diff: content/common/bluetooth/bluetooth_messages.h

Issue 1720263002: Add a policy_browsertest for the DefaultWebBluetoothGuardSetting. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@policy-disable-bt
Patch Set: Created 4 years, 10 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 // Messages for Web Bluetooth API. 5 // Messages for Web Bluetooth API.
6 // Multiply-included message file, hence no include guard. 6 // Multiply-included message file, hence no include guard.
7 7
8 // Web Bluetooth Security 8 // Web Bluetooth Security
9 // The security mechanisms of Bluetooth are described in the specification: 9 // The security mechanisms of Bluetooth are described in the specification:
10 // https://webbluetoothchrome.github.io/web-bluetooth 10 // https://webbluetoothchrome.github.io/web-bluetooth
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 80
81 #include "ipc/ipc_message_macros.h" 81 #include "ipc/ipc_message_macros.h"
82 82
83 #include <stdint.h> 83 #include <stdint.h>
84 84
85 #include "content/common/bluetooth/bluetooth_device.h" 85 #include "content/common/bluetooth/bluetooth_device.h"
86 #include "content/common/bluetooth/bluetooth_scan_filter.h" 86 #include "content/common/bluetooth/bluetooth_scan_filter.h"
87 #include "third_party/WebKit/public/platform/modules/bluetooth/WebBluetoothError .h" 87 #include "third_party/WebKit/public/platform/modules/bluetooth/WebBluetoothError .h"
88 88
89 #define IPC_MESSAGE_START BluetoothMsgStart 89 #define IPC_MESSAGE_START BluetoothMsgStart
90 #undef IPC_MESSAGE_EXPORT
91 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT
90 92
91 IPC_ENUM_TRAITS_MAX_VALUE( 93 IPC_ENUM_TRAITS_MAX_VALUE(
92 device::BluetoothDevice::VendorIDSource, 94 device::BluetoothDevice::VendorIDSource,
93 device::BluetoothDevice::VendorIDSource::VENDOR_ID_MAX_VALUE) 95 device::BluetoothDevice::VendorIDSource::VENDOR_ID_MAX_VALUE)
94 96
95 IPC_STRUCT_TRAITS_BEGIN(content::BluetoothDevice) 97 IPC_STRUCT_TRAITS_BEGIN(content::BluetoothDevice)
96 IPC_STRUCT_TRAITS_MEMBER(id) 98 IPC_STRUCT_TRAITS_MEMBER(id)
97 IPC_STRUCT_TRAITS_MEMBER(name) 99 IPC_STRUCT_TRAITS_MEMBER(name)
98 IPC_STRUCT_TRAITS_MEMBER(tx_power) 100 IPC_STRUCT_TRAITS_MEMBER(tx_power)
99 IPC_STRUCT_TRAITS_MEMBER(rssi) 101 IPC_STRUCT_TRAITS_MEMBER(rssi)
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
286 IPC_MESSAGE_CONTROL3(BluetoothHostMsg_RegisterCharacteristic, 288 IPC_MESSAGE_CONTROL3(BluetoothHostMsg_RegisterCharacteristic,
287 int /* thread_id */, 289 int /* thread_id */,
288 int /* frame_routing_id */, 290 int /* frame_routing_id */,
289 std::string /* characteristics_instance_id */) 291 std::string /* characteristics_instance_id */)
290 292
291 // Unregister from characteristic value changed events. 293 // Unregister from characteristic value changed events.
292 IPC_MESSAGE_CONTROL3(BluetoothHostMsg_UnregisterCharacteristic, 294 IPC_MESSAGE_CONTROL3(BluetoothHostMsg_UnregisterCharacteristic,
293 int /* thread_id */, 295 int /* thread_id */,
294 int /* frame_routing_id */, 296 int /* frame_routing_id */,
295 std::string /* characteristics_instance_id */) 297 std::string /* characteristics_instance_id */)
OLDNEW
« no previous file with comments | « chrome/browser/prefs/command_line_pref_store.cc ('k') | content/public/browser/browser_message_filter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698