11 #ifndef MEDIA_BASE_HTTP_KEY_FETCHER_H_
12 #define MEDIA_BASE_HTTP_KEY_FETCHER_H_
14 #include "packager/base/compiler_specific.h"
15 #include "packager/media/base/key_fetcher.h"
16 #include "packager/media/base/status.h"
18 namespace edash_packager {
37 const std::string& request,
38 std::string* response)
override;
45 virtual Status Get(
const std::string& url, std::string* response);
53 const std::string& data,
54 std::string* response);
64 Status FetchInternal(HttpMethod method,
const std::string& url,
65 const std::string& data, std::string* response);
67 const uint32_t timeout_in_seconds_;
75 #endif // MEDIA_BASE_HTTP_KEY_FETCHER_H_