diff options
author | callum_linden <none@none> | 2015-10-22 13:24:43 -0700 |
---|---|---|
committer | callum_linden <none@none> | 2015-10-22 13:24:43 -0700 |
commit | 16cd296e30e95fbacefff4e291fbdd6fbf0c2c43 (patch) | |
tree | e58d930e55c77735337ea3332a3c65385702780d /indra/llplugin | |
parent | 8c74ed2a58f5443b931374489b04ba80fb11a590 (diff) |
MAINT-5775 FIX Split out cookies and cache directories into separate folders and move cache to same place as viewer cache
Diffstat (limited to 'indra/llplugin')
-rwxr-xr-x | indra/llplugin/llpluginclassmedia.cpp | 5 | ||||
-rwxr-xr-x | indra/llplugin/llpluginclassmedia.h | 2 |
2 files changed, 4 insertions, 3 deletions
diff --git a/indra/llplugin/llpluginclassmedia.cpp b/indra/llplugin/llpluginclassmedia.cpp index c4b57aab1d..53fae52021 100755 --- a/indra/llplugin/llpluginclassmedia.cpp +++ b/indra/llplugin/llpluginclassmedia.cpp @@ -827,10 +827,11 @@ void LLPluginClassMedia::paste() sendMessage(message); } -void LLPluginClassMedia::setUserDataPath(const std::string &user_data_path) +void LLPluginClassMedia::setUserDataPath(const std::string &user_data_path_cache, const std::string &user_data_path_cookies) { LLPluginMessage message(LLPLUGIN_MESSAGE_CLASS_MEDIA, "set_user_data_path"); - message.setValue("path", user_data_path); + message.setValue("cache_path", user_data_path_cache); + message.setValue("cookies_path", user_data_path_cookies); sendMessage(message); } diff --git a/indra/llplugin/llpluginclassmedia.h b/indra/llplugin/llpluginclassmedia.h index 255fb0e2f1..a0167bc5fc 100755 --- a/indra/llplugin/llpluginclassmedia.h +++ b/indra/llplugin/llpluginclassmedia.h @@ -193,7 +193,7 @@ public: bool canPaste() const { return mCanPaste; }; // These can be called before init(), and they will be queued and sent before the media init message. - void setUserDataPath(const std::string &user_data_path); + void setUserDataPath(const std::string &user_data_path_cache, const std::string &user_data_path_cookies); void setLanguageCode(const std::string &language_code); void setPluginsEnabled(const bool enabled); void setJavascriptEnabled(const bool enabled); |