Chromium change: https://source.chromium.org/chromium/chromium/src/+/eb1ead0044bc620352d8f2c641350fc1a8f9f034 commit eb1ead0044bc620352d8f2c641350fc1a8f9f034 Author: Greg Thompson <grt@chromium.org> Date: Tue Dec 23 08:08:17 2025 -0800 [Windows] Fix ProgID registration for .pdf files ChromePDF should be used rather than ChromeHTML in .pdf\OpenWithProgids. Also clean up some UNSAFE_TODOs. Bug: 40384442
19 lines
579 B
C++
19 lines
579 B
C++
/* Copyright (c) 2021 The Brave Authors. All rights reserved.
|
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
|
|
* You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
#ifndef BRAVE_INSTALLER_UTIL_BRAVE_SHELL_UTIL_H_
|
|
#define BRAVE_INSTALLER_UTIL_BRAVE_SHELL_UTIL_H_
|
|
|
|
#include <string>
|
|
|
|
namespace installer {
|
|
|
|
std::wstring GetProgIdForFileType();
|
|
bool ShouldUseFileTypeProgId(std::wstring_view ext);
|
|
|
|
} // namespace installer
|
|
|
|
#endif // BRAVE_INSTALLER_UTIL_BRAVE_SHELL_UTIL_H_
|