chore: Browser::SetAppUserModelID is Windows only (#28909)
This commit is contained in:
parent
b0167b269a
commit
0f898b2260
3 changed files with 2 additions and 4 deletions
|
@ -83,8 +83,10 @@ class Browser : public WindowListObserver {
|
|||
// Clear the recent documents list.
|
||||
void ClearRecentDocuments();
|
||||
|
||||
#if defined(OS_WIN)
|
||||
// Set the application user model ID.
|
||||
void SetAppUserModelID(const std::wstring& name);
|
||||
#endif
|
||||
|
||||
// Remove the default protocol handler registry key
|
||||
bool RemoveAsDefaultProtocolClient(const std::string& protocol,
|
||||
|
|
|
@ -88,8 +88,6 @@ void Browser::AddRecentDocument(const base::FilePath& path) {}
|
|||
|
||||
void Browser::ClearRecentDocuments() {}
|
||||
|
||||
void Browser::SetAppUserModelID(const std::wstring& name) {}
|
||||
|
||||
bool Browser::SetAsDefaultProtocolClient(const std::string& protocol,
|
||||
gin::Arguments* args) {
|
||||
return SetDefaultWebClient(protocol);
|
||||
|
|
|
@ -218,8 +218,6 @@ std::u16string Browser::GetApplicationNameForProtocol(const GURL& url) {
|
|||
return app_display_name;
|
||||
}
|
||||
|
||||
void Browser::SetAppUserModelID(const std::wstring& name) {}
|
||||
|
||||
bool Browser::SetBadgeCount(base::Optional<int> count) {
|
||||
DockSetBadgeText(!count.has_value() || count.value() != 0
|
||||
? badging::BadgeManager::GetBadgeString(count)
|
||||
|
|
Loading…
Reference in a new issue