Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: src/plugin/PluginTabBase.cpp

Issue 6390087684194304: [superseded] Issue 1265 - Improve detection of mime type of the expected response (Closed)
Patch Set: restore assuming XHR request type when xml is queried Created Sept. 11, 2014, 7:56 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/plugin/PluginFilter.cpp ('k') | src/plugin/PluginWbPassThrough.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #include "PluginStdAfx.h" 1 #include "PluginStdAfx.h"
2 2
3 #include "PluginClient.h" 3 #include "PluginClient.h"
4 #include "PluginSettings.h" 4 #include "PluginSettings.h"
5 #ifdef SUPPORT_CONFIG 5 #ifdef SUPPORT_CONFIG
6 #include "PluginConfig.h" 6 #include "PluginConfig.h"
7 #endif 7 #endif
8 #include "PluginTab.h" 8 #include "PluginTab.h"
9 #include "PluginDomTraverser.h" 9 #include "PluginDomTraverser.h"
10 #include "PluginClass.h" 10 #include "PluginClass.h"
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
232 pOleObj->GetClientSite(&pClientSite); 232 pOleObj->GetClientSite(&pClientSite);
233 if (pClientSite != NULL) 233 if (pClientSite != NULL)
234 { 234 {
235 CComPtr<IDocHostUIHandler> docHostUIHandler; 235 CComPtr<IDocHostUIHandler> docHostUIHandler;
236 pClientSite->QueryInterface(IID_IDocHostUIHandler, (void**)&docHostUIHandl er); 236 pClientSite->QueryInterface(IID_IDocHostUIHandler, (void**)&docHostUIHandl er);
237 if (docHostUIHandler != NULL) 237 if (docHostUIHandler != NULL)
238 { 238 {
239 docHostUIHandler->UpdateUI(); 239 docHostUIHandler->UpdateUI();
240 } 240 }
241 } 241 }
242
243 pDoc.Release();
244 pDocDispatch.Release();
245 } 242 }
246 #endif 243 #endif
247 } 244 }
248 245
249 CString CPluginTabBase::GetDocumentDomain() 246 CString CPluginTabBase::GetDocumentDomain()
250 { 247 {
251 CString domain; 248 CString domain;
252 249
253 m_criticalSection.Lock(); 250 m_criticalSection.Lock();
254 { 251 {
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
388 CPluginClient::LogPluginError(pluginError.GetErrorCode(), pluginError. GetErrorId(), pluginError.GetErrorSubid(), pluginError.GetErrorDescription(), tr ue, pluginError.GetProcessId(), pluginError.GetThreadId()); 385 CPluginClient::LogPluginError(pluginError.GetErrorCode(), pluginError. GetErrorId(), pluginError.GetErrorSubid(), pluginError.GetErrorDescription(), tr ue, pluginError.GetProcessId(), pluginError.GetThreadId());
389 } 386 }
390 387
391 // Non-hanging sleep 388 // Non-hanging sleep
392 Sleep(50); 389 Sleep(50);
393 } 390 }
394 391
395 tabLoopIteration++; 392 tabLoopIteration++;
396 } 393 }
397 } 394 }
OLDNEW
« no previous file with comments | « src/plugin/PluginFilter.cpp ('k') | src/plugin/PluginWbPassThrough.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld