| 531 | } |
| 532 | |
| 533 | unsigned int WINAPI Browser::GoForwardThreadProc(LPVOID param) { |
| 534 | HRESULT hr = ::CoInitialize(NULL); |
| 535 | IWebBrowser2* browser; |
| 536 | LPSTREAM message_payload = reinterpret_cast<LPSTREAM>(param); |
| 537 | hr = ::CoGetInterfaceAndReleaseStream(message_payload, |
| 538 | IID_IWebBrowser2, |
| 539 | reinterpret_cast<void**>(&browser)); |
| 540 | if (browser != NULL) { |
| 541 | hr = browser->GoForward(); |
| 542 | } |
| 543 | return 0; |
| 544 | } |
| 545 | |
| 546 | int Browser::Refresh() { |
| 547 | LOG(TRACE) << "Entering Browser::Refresh"; |
nothing calls this directly
no outgoing calls
no test coverage detected