From d44eeb48d380215bae0d036976f6daa11082af07 Mon Sep 17 00:00:00 2001 From: callum_linden <none@none> Date: Tue, 1 Sep 2015 17:46:29 -0700 Subject: Remove debugging crud --- indra/media_plugins/cef/media_plugin_cef.cpp | 26 +++++++------------------- 1 file changed, 7 insertions(+), 19 deletions(-) diff --git a/indra/media_plugins/cef/media_plugin_cef.cpp b/indra/media_plugins/cef/media_plugin_cef.cpp index a0a80e3a3a..f49187a897 100644 --- a/indra/media_plugins/cef/media_plugin_cef.cpp +++ b/indra/media_plugins/cef/media_plugin_cef.cpp @@ -83,7 +83,7 @@ private: std::string mAuthUsername; std::string mAuthPassword; bool mAuthOK; - std::string mCachePath; + std::string mCachePath; std::string mCookiePath; LLCEFLib* mLLCEFLib; }; @@ -106,7 +106,7 @@ MediaPluginBase(host_send_func, host_user_data) mAuthUsername = ""; mAuthPassword = ""; mAuthOK = false; - mCachePath = ""; + mCachePath = ""; mCookiePath = ""; mLLCEFLib = new LLCEFLib(); } @@ -347,10 +347,6 @@ void MediaPluginCEF::receiveMessage(const char* message_string) settings.accept_language_list = mHostLanguage; settings.user_agent_substring = mUserAgentSubtring; - std::stringstream str; - str << "@@@@@@@@@@ Initializing with = user_agent_substring = " << mUserAgentSubtring; - postDebugMessage(str.str()); - bool result = mLLCEFLib->init(settings); if (!result) { @@ -369,15 +365,11 @@ void MediaPluginCEF::receiveMessage(const char* message_string) message.setValueBoolean("coords_opengl", false); sendMessage(message); } - else if (message_name == "set_user_data_path") - { - std::string user_data_path = message_in.getValue("path"); // n.b. always has trailing platform-specific dir-delimiter - mCachePath = user_data_path + "cef_cache"; - mCookiePath = user_data_path + "cef_cookies"; - - std::stringstream str; - str << "@@@@@@@@@@ setting data paths to " << mCachePath << " and " << mCookiePath; - postDebugMessage(str.str()); + else if (message_name == "set_user_data_path") + { + std::string user_data_path = message_in.getValue("path"); // n.b. always has trailing platform-specific dir-delimiter + mCachePath = user_data_path + "cef_cache"; + mCookiePath = user_data_path + "cef_cookies"; } else if (message_name == "size_change") { @@ -553,10 +545,6 @@ void MediaPluginCEF::receiveMessage(const char* message_string) else if (message_name == "set_user_agent") { mUserAgentSubtring = message_in.getValue("user_agent"); - - std::stringstream str; - str << "@@@@@@@@@@ setting mUserAgentSubtring = " << mUserAgentSubtring; - postDebugMessage(str.str()); } else if (message_name == "plugins_enabled") { -- cgit v1.2.3