16 #ifndef ACSDKASSETMANAGER_URLALLOWLISTWRAPPER_H_ 17 #define ACSDKASSETMANAGER_URLALLOWLISTWRAPPER_H_ 23 namespace acsdkAssets {
34 static std::shared_ptr<UrlAllowListWrapper>
create(
35 std::vector<std::string> newAllowList,
69 m_allowAllUrls(allowAllUrls) {
73 std::vector<std::string> m_allowList;
75 std::mutex m_allowListMutex;
84 #endif // ACSDKASSETMANAGER_URLALLOWLISTWRAPPER_H_ Definition: UrlAllowListWrapper.h:26
bool allowAllUrls(bool allow)
::std::string string
Definition: gtest-port.h:1097
void setUrlAllowList(std::vector< std::string > newAllowList)
~UrlAllowListWrapper()=default
void addUrlToAllowList(std::string url)
Whether or not curl logs should be emitted.
Definition: AVSConnectionManager.h:36
bool isUrlAllowed(const std::string &url)
const T & move(const T &t)
Definition: gtest-port.h:1317
static std::shared_ptr< UrlAllowListWrapper > create(std::vector< std::string > newAllowList, bool allowAllUrls=false)