summaryrefslogtreecommitdiff
path: root/chromium/content/common/bluetooth/bluetooth_error.h
blob: 7ebf7aef8c10a1b8acc060b89c82a7d5ecb3d218 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef CONTENT_COMMON_BLUETOOTH_BLUETOOTH_ERROR_H_
#define CONTENT_COMMON_BLUETOOTH_BLUETOOTH_ERROR_H_

namespace content {

// Error enumerations corresponding to blink::WebBluetoothError::ErrorType
// used to create DOMExceptions.
enum class BluetoothError {
  NOT_FOUND,
  NETWORK_ERROR,
  SECURITY,
  ENUM_MAX_VALUE = SECURITY
};

}  // namespace content

#endif  // CONTENT_COMMON_BLUETOOTH_BLUETOOTH_ERROR_H_