// 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 COMPONENTS_DOWNLOAD_PUBLIC_BACKGROUND_SERVICE_CLIENT_H_ #define COMPONENTS_DOWNLOAD_PUBLIC_BACKGROUND_SERVICE_CLIENT_H_ #include <string> #include <vector> #include "base/functional/callback.h" #include "net/http/http_response_headers.h" #include "url/gurl.h" namespace network { class ResourceRequestBody; } // namespace network namespace download { struct CompletionInfo; struct DownloadMetaData; GetUploadDataCallback; // The Client interface required by any feature that wants to start a download // through the DownloadService. Should be registered immediately at startup // when the DownloadService is created (see the factory). class Client { … }; } // namespace download #endif // COMPONENTS_DOWNLOAD_PUBLIC_BACKGROUND_SERVICE_CLIENT_H_