Remove debugging crud
parent
7505501aea
commit
d44eeb48d3
|
|
@ -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")
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue