mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
* chore: bump chromium in DEPS to 111.0.5563.19 * chore: bump chromium in DEPS to 111.0.5563.33 * chore: bump chromium in DEPS to 111.0.5563.41 * chore: update patches * refactor: remove GetFontLookupTableCacheDir Ref: https://chromium-review.googlesource.com/c/chromium/src/+/4191820 (cherry picked from commit52740f127f) * chore: remove dead DecodeToken code (cherry picked from commite7ac425771) * chore: add stub impls for WCO routing Refs: https://chromium-review.googlesource.com/c/chromium/src/+/4182690 (cherry picked from commit911e353b07) * refacotr: switch mojom::NetworkHintsHandler to use SchemeHostPair instead of URL Ref: https://chromium-review.googlesource.com/c/chromium/src/+/4185417 (cherry picked from commita8b3befdd7) * chore: bump chromium in DEPS to 111.0.5563.50 * chore: update patches * 4240360: [intl] Revert date formatting behavior change from ICU 72 https://chromium-review.googlesource.com/c/v8/v8/+/4240360 * chore: update patches --------- Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com> Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org> Co-authored-by: Samuel Attard <marshallofsound@electronjs.org> Co-authored-by: PatchUp <73610968+patchup[bot]@users.noreply.github.com>
36 lines
1.1 KiB
C++
36 lines
1.1 KiB
C++
// Copyright (c) 2019 Slack Technologies, Inc.
|
|
// Use of this source code is governed by the MIT license that can be
|
|
// found in the LICENSE file.
|
|
|
|
#ifndef ELECTRON_SHELL_BROWSER_NETWORK_HINTS_HANDLER_IMPL_H_
|
|
#define ELECTRON_SHELL_BROWSER_NETWORK_HINTS_HANDLER_IMPL_H_
|
|
|
|
#include "components/network_hints/browser/simple_network_hints_handler_impl.h"
|
|
|
|
namespace content {
|
|
class RenderFrameHost;
|
|
class BrowserContext;
|
|
} // namespace content
|
|
|
|
class NetworkHintsHandlerImpl
|
|
: public network_hints::SimpleNetworkHintsHandlerImpl {
|
|
public:
|
|
~NetworkHintsHandlerImpl() override;
|
|
|
|
static void Create(
|
|
content::RenderFrameHost* frame_host,
|
|
mojo::PendingReceiver<network_hints::mojom::NetworkHintsHandler>
|
|
receiver);
|
|
|
|
// network_hints::mojom::NetworkHintsHandler:
|
|
void Preconnect(const url::SchemeHostPort& url,
|
|
bool allow_credentials) override;
|
|
|
|
private:
|
|
explicit NetworkHintsHandlerImpl(content::RenderFrameHost*);
|
|
|
|
content::BrowserContext* browser_context_ = nullptr;
|
|
};
|
|
|
|
#endif // ELECTRON_SHELL_BROWSER_NETWORK_HINTS_HANDLER_IMPL_H_
|