diff options
| author | callum_linden <none@none> | 2015-11-16 16:09:40 -0800 |
|---|---|---|
| committer | callum_linden <none@none> | 2015-11-16 16:09:40 -0800 |
| commit | 311b376ab50bacf2bf113616af2a5bbedfcd5ee5 (patch) | |
| tree | 515726f4fc5842ed0762a8b1a160466a7173504f /indra/llplugin/llpluginclassmedia.cpp | |
| parent | e63aeb29ab8e0c173f17a2c343c66ab4ef84c0ad (diff) | |
Update SetCookie code for new LLCEFLib API and add support for shoing/hising developer console (Inspector)
Diffstat (limited to 'indra/llplugin/llpluginclassmedia.cpp')
| -rwxr-xr-x | indra/llplugin/llpluginclassmedia.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/llplugin/llpluginclassmedia.cpp b/indra/llplugin/llpluginclassmedia.cpp index 85653a0fcc..23c5cd8794 100755 --- a/indra/llplugin/llpluginclassmedia.cpp +++ b/indra/llplugin/llpluginclassmedia.cpp @@ -669,7 +669,7 @@ bool LLPluginClassMedia::textInput(const std::string &text, MASK modifiers, LLSD return true; } -void LLPluginClassMedia::setCookie(std::string uri, std::string name, std::string value, std::string domain, std::string path) +void LLPluginClassMedia::setCookie(std::string uri, std::string name, std::string value, std::string domain, std::string path, bool httponly, bool secure) { LLPluginMessage message(LLPLUGIN_MESSAGE_CLASS_MEDIA, "set_cookie"); @@ -678,6 +678,8 @@ void LLPluginClassMedia::setCookie(std::string uri, std::string name, std::strin message.setValue("value", value); message.setValue("domain", domain); message.setValue("path", path); + message.setValueBoolean("httponly", httponly); + message.setValueBoolean("secure", secure); sendMessage(message); } |
