Home | History | Annotate | Download | only in chrome_frame

Lines Matching refs:hr

113     HRESULT hr = ParentClass::AddCommonRGSReplacements(registrar);
115 if (SUCCEEDED(hr)) {
120 hr = registrar->AddReplacement(L"SYSTIME",
122 DCHECK(SUCCEEDED(hr));
125 if (SUCCEEDED(hr)) {
128 hr = registrar->AddReplacement(L"CHROME_APPPATH",
130 DCHECK(SUCCEEDED(hr));
133 if (SUCCEEDED(hr)) {
134 hr = registrar->AddReplacement(L"CHROME_APPNAME",
136 DCHECK(SUCCEEDED(hr));
143 hr = registrar->AddReplacement(L"VERSION", file_version.c_str());
144 DCHECK(SUCCEEDED(hr));
147 if (SUCCEEDED(hr)) {
157 hr = registrar->AddReplacement(L"CHROME_LAUNCHER_APPPATH",
159 DCHECK(SUCCEEDED(hr));
162 if (SUCCEEDED(hr)) {
164 hr = registrar->AddReplacement(L"CHROME_LAUNCHER_APPNAME",
166 DCHECK(SUCCEEDED(hr));
169 if (SUCCEEDED(hr)) {
177 hr = registrar->AddReplacement(L"HIVE", L"HKLM");
179 hr = registrar->AddReplacement(L"HIVE", L"HKCU");
181 DCHECK(SUCCEEDED(hr));
184 if (SUCCEEDED(hr)) {
188 hr = registrar->AddReplacement(L"CHROME_FRAME_CLSID", &cf_clsid[0]);
191 return hr;
239 HRESULT hr = E_NOTIMPL;
254 hr = ie_refresh_policy();
256 hr = HRESULT_FROM_WIN32(GetLastError());
261 hr = HRESULT_FROM_WIN32(GetLastError());
264 return hr;
337 HRESULT hr = S_OK;
370 hr = E_FAIL;
379 hr = E_FAIL;
391 hr = HRESULT_FROM_WIN32(ERROR_FILE_NOT_FOUND);
394 hr = E_UNEXPECTED;
398 return hr;
405 HRESULT hr = E_FAIL;
441 hr = S_OK;
445 hr = HRESULT_FROM_WIN32(reg_result);
447 return hr;
623 HRESULT hr = E_FAIL;
631 hr = SetOrDeleteMimeHandlerKey(enable, HKEY_LOCAL_MACHINE);
636 return hr;
654 HRESULT hr = S_OK;
658 hr = _AtlModule.UpdateRegistryFromResourceS(IDR_CHROMEFRAME_ELEVATION, reg);
659 if (SUCCEEDED(hr)) {
665 return hr;
777 HRESULT MuxErrorIntoHRESULT(HRESULT hr, int error_code) {
784 DCHECK_EQ(static_cast<HRESULT>(hr & 0xF87FFFFF), hr);
786 HRESULT fiddled_hr = ((error_code & 0xF) << 23) | hr;
820 HRESULT hr = S_OK;
830 if (hr == S_OK) {
831 hr = MuxErrorIntoHRESULT(step_hr, step);
852 return hr;
943 HRESULT hr = CustomRegistration(flags, true, true);
944 if (SUCCEEDED(hr)) {
948 return hr;
954 HRESULT hr = CustomRegistration(ALL, false, true);
955 return hr;
964 HRESULT hr = CustomRegistration(flags, TRUE, false);
965 if (SUCCEEDED(hr)) {
969 return hr;
975 HRESULT hr = CustomRegistration(ALL, FALSE, false);
976 return hr;