7 #ifndef PACKAGER_MEDIA_BASE_HTTP_KEY_FETCHER_H_
8 #define PACKAGER_MEDIA_BASE_HTTP_KEY_FETCHER_H_
12 #include "packager/base/compiler_specific.h"
13 #include "packager/file/http_file.h"
14 #include "packager/media/base/key_fetcher.h"
15 #include "packager/status.h"
36 const std::string& request,
37 std::string* response)
override;
44 virtual Status Get(
const std::string& url, std::string* response);
52 const std::string& data,
53 std::string* response);
56 Status FetchInternal(HttpMethod method,
const std::string& url,
57 const std::string& data, std::string* response);
59 const uint32_t timeout_in_seconds_;
67 #endif // PACKAGER_MEDIA_BASE_HTTP_KEY_FETCHER_H_