diff options
| author | callum_linden <none@none> | 2015-09-01 17:46:29 -0700 | 
|---|---|---|
| committer | callum_linden <none@none> | 2015-09-01 17:46:29 -0700 | 
| commit | d44eeb48d380215bae0d036976f6daa11082af07 (patch) | |
| tree | 551a098fb8b17b4c8db51471e7cf5932ac6c48d0 /indra/media_plugins/cef | |
| parent | 7505501aea76e014b205d64accf89a9d30abac3a (diff) | |
Remove debugging crud
Diffstat (limited to 'indra/media_plugins/cef')
| -rw-r--r-- | indra/media_plugins/cef/media_plugin_cef.cpp | 26 | 
1 files 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")  			{ | 
