blob: 3a2ddc028ff3724e4b6d78fb8c86d963cbfd0a4d [file] [log] [blame]
// Copyright 2015 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 THIRD_PARTY_BLINK_PUBLIC_PLATFORM_WEB_SET_SINK_ID_CALLBACKS_H_
#define THIRD_PARTY_BLINK_PUBLIC_PLATFORM_WEB_SET_SINK_ID_CALLBACKS_H_
#include "base/callback.h"
#include "base/optional.h"
#include "third_party/blink/public/platform/web_string.h"
namespace blink {
enum class WebSetSinkIdError {
kNotFound = 1,
kNotAuthorized,
kAborted,
kNotSupported,
};
using WebSetSinkIdCompleteCallback =
base::OnceCallback<void(base::Optional<WebSetSinkIdError> error)>;
} // namespace blink
#endif // THIRD_PARTY_BLINK_PUBLIC_PLATFORM_WEB_SET_SINK_ID_CALLBACKS_H_