/*
- * Copyright (c) 2020 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2021 Samsung Electronics Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
{
namespace Toolkit
{
-
-WebContext::WebContext( Dali::WebEngineContext& context)
-: mWebEngineContext( context )
+WebContext::WebContext(Dali::WebEngineContext& context)
+: mWebEngineContext(context)
{
}
return mWebEngineContext.GetCacheModel();
}
-void WebContext::SetCacheModel(Dali::WebEngineContext::CacheModel cacheModel )
+void WebContext::SetCacheModel(Dali::WebEngineContext::CacheModel cacheModel)
{
- mWebEngineContext.SetCacheModel( cacheModel );
+ mWebEngineContext.SetCacheModel(cacheModel);
}
-void WebContext::SetProxyUri( const std::string& uri )
+void WebContext::SetProxyUri(const std::string& uri)
{
- mWebEngineContext.SetProxyUri( uri );
+ mWebEngineContext.SetProxyUri(uri);
}
-void WebContext::SetCertificateFilePath( const std::string& certificatePath )
+void WebContext::SetCertificateFilePath(const std::string& certificatePath)
{
- mWebEngineContext.SetCertificateFilePath( certificatePath );
+ mWebEngineContext.SetCertificateFilePath(certificatePath);
}
-void WebContext::DisableCache( bool cacheDisabled )
+void WebContext::DisableCache(bool cacheDisabled)
{
- mWebEngineContext.DisableCache( cacheDisabled );
+ mWebEngineContext.DisableCache(cacheDisabled);
}
-void WebContext::SetDefaultProxyAuth( const std::string& username, const std::string& password )
+void WebContext::SetDefaultProxyAuth(const std::string& username, const std::string& password)
{
- mWebEngineContext.SetDefaultProxyAuth( username, password );
+ mWebEngineContext.SetDefaultProxyAuth(username, password);
}
void WebContext::DeleteWebDatabase()