SetAppUserModelID -> wstring
This commit is contained in:
parent
39e3576c48
commit
83d93bcbdc
4 changed files with 4 additions and 4 deletions
|
@ -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,
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue