| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "chrome_frame/chrome_frame_helper_util.h" | 5 #include "chrome_frame/chrome_frame_helper_util.h" |
| 6 #include "chrome_tab.h" // NOLINT | 6 #include "chrome_frame/chrome_tab.h" |
| 7 | 7 |
| 8 #include <shlwapi.h> | 8 #include <shlwapi.h> |
| 9 #include <stdio.h> | 9 #include <stdio.h> |
| 10 | 10 |
| 11 namespace { | 11 namespace { |
| 12 | 12 |
| 13 const wchar_t kGetBrowserMessage[] = L"GetAutomationObject"; | 13 const wchar_t kGetBrowserMessage[] = L"GetAutomationObject"; |
| 14 | 14 |
| 15 const wchar_t kBHORegistrationPathFmt[] = | 15 const wchar_t kBHORegistrationPathFmt[] = |
| 16 L"SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer" | 16 L"SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer" |
| (...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 272 version_buffer); | 272 version_buffer); |
| 273 if (result == ERROR_SUCCESS && version_buffer[0] != L'\0') { | 273 if (result == ERROR_SUCCESS && version_buffer[0] != L'\0') { |
| 274 system_level_installed = true; | 274 system_level_installed = true; |
| 275 } | 275 } |
| 276 RegCloseKey(reg_handle); | 276 RegCloseKey(reg_handle); |
| 277 } | 277 } |
| 278 | 278 |
| 279 return system_level_installed; | 279 return system_level_installed; |
| 280 } | 280 } |
| 281 | 281 |
| OLD | NEW |