0
Files
src/content/browser/font_list_async.cc
Avi Drissman adac219925 Update header includes for /base/functional in /content
bind.h, callback.h, callback_forward.h, and callback_helpers.h
moved into /base/functional/. Update the include paths to
directly include them in their new location.

Bug: 1364441
Change-Id: I32ec425b9c0e52ec4b50047bf3290fecc5c905ff
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4148554
Reviewed-by: Daniel Cheng <dcheng@chromium.org>
Auto-Submit: Avi Drissman <avi@chromium.org>
Owners-Override: Avi Drissman <avi@chromium.org>
Owners-Override: Daniel Cheng <dcheng@chromium.org>
Commit-Queue: Daniel Cheng <dcheng@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1091567}
2023-01-11 23:46:39 +00:00

22 lines
584 B
C++

// Copyright 2011 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "content/public/browser/font_list_async.h"
#include <utility>
#include "base/functional/bind.h"
#include "base/values.h"
#include "content/common/font_list.h"
namespace content {
void GetFontListAsync(base::OnceCallback<void(base::Value::List)> callback) {
GetFontListTaskRunner()->PostTaskAndReplyWithResult(
FROM_HERE, base::BindOnce(&GetFontList_SlowBlocking),
std::move(callback));
}
} // namespace content