LEFT | RIGHT |
(no file at all) | |
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 #include "PluginDictionary.h" | 5 #include "PluginDictionary.h" |
6 #ifdef SUPPORT_CONFIG | 6 #ifdef SUPPORT_CONFIG |
7 #include "PluginConfig.h" | 7 #include "PluginConfig.h" |
8 #endif | 8 #endif |
9 #include "PluginTab.h" | 9 #include "PluginTab.h" |
10 #include "PluginDomTraverser.h" | 10 #include "PluginDomTraverser.h" |
(...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
260 CString domain; | 260 CString domain; |
261 | 261 |
262 m_criticalSection.Lock(); | 262 m_criticalSection.Lock(); |
263 { | 263 { |
264 m_documentUrl = url; | 264 m_documentUrl = url; |
265 m_documentDomain = CPluginClient::ExtractDomain(url); | 265 m_documentDomain = CPluginClient::ExtractDomain(url); |
266 | 266 |
267 domain = m_documentDomain; | 267 domain = m_documentDomain; |
268 } | 268 } |
269 m_criticalSection.Unlock(); | 269 m_criticalSection.Unlock(); |
270 | |
271 #ifdef SUPPORT_WHITELIST | |
272 CPluginSettings::GetInstance()->AddDomainToHistory(domain); | |
273 #endif | |
274 } | 270 } |
275 | 271 |
276 CString CPluginTabBase::GetDocumentUrl() | 272 CString CPluginTabBase::GetDocumentUrl() |
277 { | 273 { |
278 CString url; | 274 CString url; |
279 | 275 |
280 m_criticalSection.Lock(); | 276 m_criticalSection.Lock(); |
281 { | 277 { |
282 url = m_documentUrl; | 278 url = m_documentUrl; |
283 } | 279 } |
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
444 | 440 |
445 // Non-hanging sleep | 441 // Non-hanging sleep |
446 Sleep(50); | 442 Sleep(50); |
447 } | 443 } |
448 | 444 |
449 tabLoopIteration++; | 445 tabLoopIteration++; |
450 } | 446 } |
451 | 447 |
452 return 0; | 448 return 0; |
453 } | 449 } |
LEFT | RIGHT |