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

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

Issue 699843003: bluetooth: Impl uses new WebBluetoothDevice in content/browser. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkcr
Patch Set: Created 6 years, 1 month 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
(Empty)
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
3 // found in the LICENSE file.
4
5 // Messages for Web Bluetooth API.
6 // Multiply-included message file, hence no include guard.
7
8 #include "ipc/ipc_message_macros.h"
9 #include "content/common/bluetooth/bluetooth_error.h"
10
11 #define IPC_MESSAGE_START BluetoothMsgStart
12
13 IPC_ENUM_TRAITS_MAX_VALUE(content::BluetoothError,
14 content::BluetoothError::ENUM_MAX_VALUE)
15
16 // Messages sent from the browser to the renderer.
17
18 // Informs the renderer that the device request |request_id| succeeded.
19 IPC_MESSAGE_CONTROL3(BluetoothMsg_RequestDeviceSuccess,
20 int /* thread_id */,
21 int /* request_id */,
22 std::string /* instance_id */)
23
24 // Informs the renderer that the device request |request_id| failed.
25 IPC_MESSAGE_CONTROL3(BluetoothMsg_RequestDeviceError,
26 int /* thread_id */,
27 int /* request_id */,
28 content::BluetoothError /* result */)
29
30 // Messages sent from the renderer to the browser.
31
32 // Requests a bluetooth device from the browser.
33 IPC_MESSAGE_CONTROL2(BluetoothHostMsg_RequestDevice,
Jeffrey Yasskin 2014/11/24 23:30:12 This file is probably the place to explain the sec
scheib 2014/11/25 16:11:06 Done.
34 int /* thread_id */,
35 int /* request_id */)
36
37 // Configures the mock data set in the browser used while under test.
38 IPC_MESSAGE_CONTROL1(BluetoothHostMsg_SetBluetoothMockDataSetForTesting,
39 std::string /* name */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698