SetAppUserModelID -> wstring

This commit is contained in:
Jeremy Rose 2021-03-24 10:22:04 -07:00
parent 39e3576c48
commit 83d93bcbdc
4 changed files with 4 additions and 4 deletions

View file

@ -84,7 +84,7 @@ class Browser : public WindowListObserver {
void ClearRecentDocuments();
// Set the application user model ID.
void SetAppUserModelID(const std::u16string& name);
void SetAppUserModelID(const std::wstring& name);
// Remove the default protocol handler registry key
bool RemoveAsDefaultProtocolClient(const std::string& protocol,

View file

@ -88,7 +88,7 @@ void Browser::AddRecentDocument(const base::FilePath& path) {}
void Browser::ClearRecentDocuments() {}
void Browser::SetAppUserModelID(const std::u16string& name) {}
void Browser::SetAppUserModelID(const std::wstring& name) {}
bool Browser::SetAsDefaultProtocolClient(const std::string& protocol,
gin::Arguments* args) {

View file

@ -218,7 +218,7 @@ std::u16string Browser::GetApplicationNameForProtocol(const GURL& url) {
return app_display_name;
}
void Browser::SetAppUserModelID(const std::u16string& name) {}
void Browser::SetAppUserModelID(const std::wstring& name) {}
bool Browser::SetBadgeCount(base::Optional<int> count) {
DockSetBadgeText(!count.has_value() || count.value() != 0

View file

@ -393,7 +393,7 @@ void Browser::ClearRecentDocuments() {
SHAddToRecentDocs(SHARD_APPIDINFO, nullptr);
}
void Browser::SetAppUserModelID(const std::u16string& name) {
void Browser::SetAppUserModelID(const std::wstring& name) {
electron::SetAppUserModelID(name);
}