Fix cpplint errors.

This commit is contained in:
Charlie Hess 2015-02-25 21:57:25 -08:00
parent b6787a9b34
commit 78b856268e
2 changed files with 4 additions and 2 deletions

View file

@ -118,7 +118,9 @@ void Browser::NotifyAndShutdown() {
bool Browser::HandleBeforeQuit() { bool Browser::HandleBeforeQuit() {
bool prevent_default = false; bool prevent_default = false;
FOR_EACH_OBSERVER(BrowserObserver, observers_, OnBeforeQuit(&prevent_default)); FOR_EACH_OBSERVER(BrowserObserver,
observers_,
OnBeforeQuit(&prevent_default));
return !prevent_default; return !prevent_default;
} }

View file

@ -13,7 +13,7 @@ class BrowserObserver {
public: public:
// The browser is about to close all windows. // The browser is about to close all windows.
virtual void OnBeforeQuit(bool* prevent_default) {} virtual void OnBeforeQuit(bool* prevent_default) {}
// The browser has closed all windows and will quit. // The browser has closed all windows and will quit.
virtual void OnWillQuit(bool* prevent_default) {} virtual void OnWillQuit(bool* prevent_default) {}