1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
   14
   15
   16
   17
   18
   19
   20
   21
   22

content / public / browser / client_hints.cc [blame]

// 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