summaryrefslogtreecommitdiffstats
path: root/chromium/content/public/browser/client_hints.cc
blob: d74a16dcf82db4ddf744925f3dafa48a8bbdc3f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// Copyright 2020 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/client_hints.h"
#include "content/browser/client_hints/client_hints.h"

namespace content {

void AddClientHintsHeadersToPrefetchNavigation(
    const url::Origin& origin,
    net::HttpRequestHeaders* headers,
    BrowserContext* context,
    ClientHintsControllerDelegate* delegate,
    bool is_ua_override_on,
    bool is_javascript_enabled) {
  AddPrefetchNavigationRequestClientHintsHeaders(origin, headers, context,
                                                 delegate, is_ua_override_on,
                                                 is_javascript_enabled);
}

}  // namespace content