chromium/third_party/blink/renderer/platform/exported/web_icon_sizes_parser.cc

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

#ifdef UNSAFE_BUFFERS_BUILD
// TODO(crbug.com/351564777): Remove this and convert code to safer constructs.
#pragma allow_unsafe_buffers
#endif

#include "third_party/blink/public/platform/web_icon_sizes_parser.h"

#include <algorithm>
#include "third_party/blink/public/platform/web_string.h"
#include "third_party/blink/renderer/platform/wtf/text/string_to_number.h"
#include "third_party/blink/renderer/platform/wtf/text/wtf_string.h"
#include "ui/gfx/geometry/size.h"

namespace blink {

namespace {

static inline bool IsIntegerStart(UChar c) {}

static bool IsWhitespace(UChar c) {}

static bool IsNotWhitespace(UChar c) {}

static bool IsNonDigit(UChar c) {}

static inline wtf_size_t FindEndOfWord(const String& string, wtf_size_t start) {}

static inline int PartialStringToInt(const String& string,
                                     wtf_size_t start,
                                     wtf_size_t end) {}

}  // namespace

WebVector<gfx::Size> WebIconSizesParser::ParseIconSizes(
    const WebString& web_sizes_string) {}

}  // namespace blink