1 // Copyright 2017 The Chromium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #ifndef EXTENSIONS_COMMON_API_DECLARATIVE_NET_REQUEST_UTILS_H_ 6 #define EXTENSIONS_COMMON_API_DECLARATIVE_NET_REQUEST_UTILS_H_ 7 8 namespace extensions { 9 namespace declarative_net_request { 10 11 // Returns true if the Declarative Net Request API is available on the current 12 // channel. 13 bool IsAPIAvailable(); 14 15 } // namespace declarative_net_request 16 } // namespace extensions 17 18 #endif // EXTENSIONS_COMMON_API_DECLARATIVE_NET_REQUEST_UTILS_H_ 19