// Copyright 2017 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 MEDIA_BLINK_RESOURCE_FETCH_CONTEXT_H_ #define MEDIA_BLINK_RESOURCE_FETCH_CONTEXT_H_ #include #include "media/blink/media_blink_export.h" #include "services/network/public/mojom/referrer_policy.mojom.h" #include "third_party/blink/public/platform/web_string.h" #include "third_party/blink/public/web/web_associated_url_loader.h" #include "third_party/blink/public/web/web_associated_url_loader_options.h" namespace media { class MEDIA_BLINK_EXPORT ResourceFetchContext { public: virtual ~ResourceFetchContext() {} virtual std::unique_ptr CreateUrlLoader( const blink::WebAssociatedURLLoaderOptions& options) = 0; }; } // namespace media #endif // MEDIA_BLINK_RESOURCE_FETCH_CONTEXT_H_