chromium/third_party/blink/renderer/modules/bluetooth/bluetooth_uuid.cc

// Copyright 2015 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "third_party/blink/renderer/modules/bluetooth/bluetooth_uuid.h"

#include "third_party/blink/renderer/bindings/core/v8/v8_union_string_unsignedlong.h"
#include "third_party/blink/renderer/platform/bindings/exception_state.h"
#include "third_party/blink/renderer/platform/wtf/hash_map.h"
#include "third_party/blink/renderer/platform/wtf/text/string_builder.h"
#include "third_party/blink/renderer/platform/wtf/text/string_hash.h"
#include "third_party/blink/renderer/platform/wtf/text/wtf_string.h"
#include "third_party/blink/renderer/platform/wtf/uuid.h"

namespace blink {

namespace {

NameToAssignedNumberMap;

enum class GATTAttribute {};

NameToAssignedNumberMap* GetAssignedNumberToServiceNameMap() {}

NameToAssignedNumberMap* GetAssignedNumberForCharacteristicNameMap() {}

NameToAssignedNumberMap* GetAssignedNumberForDescriptorNameMap() {}

String GetUUIDFromV8Value(const V8UnionStringOrUnsignedLong* value) {}

String GetUUIDForGATTAttribute(GATTAttribute attribute,
                               const V8UnionStringOrUnsignedLong* name,
                               ExceptionState& exception_state) {}

}  // namespace

String GetBluetoothUUIDFromV8Value(const V8UnionStringOrUnsignedLong* value) {}

// static
String BluetoothUUID::getService(const V8BluetoothServiceUUID* name,
                                 ExceptionState& exception_state) {}

// static
String BluetoothUUID::getCharacteristic(
    const V8BluetoothCharacteristicUUID* name,
    ExceptionState& exception_state) {}

// static
String BluetoothUUID::getDescriptor(const V8BluetoothDescriptorUUID* name,
                                    ExceptionState& exception_state) {}

// static
String BluetoothUUID::canonicalUUID(unsigned alias) {}

}  // namespace blink