summaryrefslogtreecommitdiff
path: root/chromium/third_party/blink/public/common/service_worker/service_worker_utils.h
blob: 8aed3652cd09d9b4f28b83af70145c596b076b64 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef THIRD_PARTY_BLINK_PUBLIC_COMMON_SERVICE_WORKER_SERVICE_WORKER_UTILS_H_
#define THIRD_PARTY_BLINK_PUBLIC_COMMON_SERVICE_WORKER_SERVICE_WORKER_UTILS_H_

#include "third_party/blink/common/common_export.h"

namespace blink {

class ServiceWorkerUtils {
 public:
  // Whether the new service worker glue for NetworkService is enabled (i.e.,
  // the NetworkService or ServiceWorkerServicification feature is enabled).
  // TODO(crbug.com/715640): Remove this after non-NetS13nSW is removed.
  static bool BLINK_COMMON_EXPORT IsServicificationEnabled();
};

}  // namespace blink

#endif  // THIRD_PARTY_BLINK_PUBLIC_COMMON_SERVICE_WORKER_SERVICE_WORKER_UTILS_H_