#ifndef CONTENT_SERVICES_AUCTION_WORKLET_AUCTION_WORKLET_UTIL_H_
#define CONTENT_SERVICES_AUCTION_WORKLET_AUCTION_WORKLET_UTIL_H_
#include <string>
#include "base/types/optional_ref.h"
#include "content/common/content_export.h"
#include "gin/dictionary.h"
#include "third_party/blink/public/common/interest_group/ad_display_size.h"
namespace v8 {
class Isolate;
}
namespace auction_worklet {
CONTENT_EXPORT bool CanSetAdSize(
base::optional_ref<const blink::AdSize> ad_size);
CONTENT_EXPORT bool MaybeSetSizeMember(v8::Isolate* isolate,
gin::Dictionary& top_level_dict,
const std::string& member,
const blink::AdSize& ad_size);
}
#endif