Fix linter errors
This commit is contained in:
parent
b22ce93477
commit
e3ba6818af
2 changed files with 3 additions and 3 deletions
|
@ -149,14 +149,14 @@ class Browser : public WindowListObserver {
|
||||||
// one from app's name.
|
// one from app's name.
|
||||||
// The returned string managed by Browser, and should not be modified.
|
// The returned string managed by Browser, and should not be modified.
|
||||||
PCWSTR GetAppUserModelID();
|
PCWSTR GetAppUserModelID();
|
||||||
#endif // defined(OS_WIN)
|
#endif // defined(OS_WIN)
|
||||||
|
|
||||||
#if defined(OS_LINUX)
|
#if defined(OS_LINUX)
|
||||||
// Set/Get unity dock's badge counter.
|
// Set/Get unity dock's badge counter.
|
||||||
bool UnityLauncherAvailable();
|
bool UnityLauncherAvailable();
|
||||||
void UnityLauncherSetBadgeCount(int count);
|
void UnityLauncherSetBadgeCount(int count);
|
||||||
int UnityLauncherGetBadgeCount();
|
int UnityLauncherGetBadgeCount();
|
||||||
#endif // defined(OS_LINUX)
|
#endif // defined(OS_LINUX)
|
||||||
|
|
||||||
// Tell the application to open a file.
|
// Tell the application to open a file.
|
||||||
bool OpenFile(const std::string& file_path);
|
bool OpenFile(const std::string& file_path);
|
||||||
|
|
|
@ -49,7 +49,7 @@ if (process.platform === 'linux' && bindings.unityLauncherAvailable()) {
|
||||||
app.unityLauncher = {
|
app.unityLauncher = {
|
||||||
setBadgeCount: bindings.unityLauncherSetBadgeCount,
|
setBadgeCount: bindings.unityLauncherSetBadgeCount,
|
||||||
getBadgeCount: bindings.unityLauncherGetBadgeCount
|
getBadgeCount: bindings.unityLauncherGetBadgeCount
|
||||||
};
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
app.allowNTLMCredentialsForAllDomains = function (allow) {
|
app.allowNTLMCredentialsForAllDomains = function (allow) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue