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

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

Issue 1118053003: bluetooth: Add NetworkError for Bluetooth on browser side (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@bluetooth-connect-gatt-implementation
Patch Set: Remove from bluetooth_dispatcher_host so that we can commit 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 | « content/child/bluetooth/bluetooth_dispatcher.cc ('k') | no next file » | 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 CONTENT_COMMON_BLUETOOTH_BLUETOOTH_ERROR_H_ 5 #ifndef CONTENT_COMMON_BLUETOOTH_BLUETOOTH_ERROR_H_
6 #define CONTENT_COMMON_BLUETOOTH_BLUETOOTH_ERROR_H_ 6 #define CONTENT_COMMON_BLUETOOTH_BLUETOOTH_ERROR_H_
7 7
8 namespace content { 8 namespace content {
9 9
10 // Error enumerations corresponding to blink::WebBluetoothError::ErrorType 10 // Error enumerations corresponding to blink::WebBluetoothError::ErrorType
11 // used to create DOMExceptions. 11 // used to create DOMExceptions.
12 enum class BluetoothError { NOT_FOUND, SECURITY, ENUM_MAX_VALUE = SECURITY }; 12 enum class BluetoothError {
13 NOT_FOUND,
14 NETWORK_ERROR,
15 SECURITY,
16 ENUM_MAX_VALUE = SECURITY
17 };
13 18
14 } // namespace content 19 } // namespace content
15 20
16 #endif // CONTENT_COMMON_BLUETOOTH_BLUETOOTH_ERROR_H_ 21 #endif // CONTENT_COMMON_BLUETOOTH_BLUETOOTH_ERROR_H_
OLDNEW
« no previous file with comments | « content/child/bluetooth/bluetooth_dispatcher.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698