// Copyright 2017 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CONTENT_BROWSER_BACKGROUND_FETCH_BACKGROUND_FETCH_CROSS_ORIGIN_FILTER_H_ #define CONTENT_BROWSER_BACKGROUND_FETCH_BACKGROUND_FETCH_CROSS_ORIGIN_FILTER_H_ #include "content/common/content_export.h" namespace url { class Origin; } // namespace url namespace content { class BackgroundFetchRequestInfo; // A filter that decides the CORS rules based on the source of a request and the // response URL and headers included in the |request| info. class CONTENT_EXPORT BackgroundFetchCrossOriginFilter { … }; } // namespace content #endif // CONTENT_BROWSER_BACKGROUND_FETCH_BACKGROUND_FETCH_CROSS_ORIGIN_FILTER_H_