app.setBadgeCount should return boolean

This commit is contained in:
Cheng Zhao 2016-07-01 22:18:39 +09:00
parent f8ec377123
commit 1da2a1c2ae
6 changed files with 24 additions and 11 deletions

View file

@ -88,7 +88,7 @@ class Browser : public WindowListObserver {
bool IsDefaultProtocolClient(const std::string& protocol);
// Set/Get the badge count.
void SetBadgeCount(int count);
bool SetBadgeCount(int count);
int GetBadgeCount();
#if defined(OS_MACOSX)