Fix cpplint errors.
This commit is contained in:
parent
b6787a9b34
commit
78b856268e
2 changed files with 4 additions and 2 deletions
|
@ -118,7 +118,9 @@ void Browser::NotifyAndShutdown() {
|
|||
|
||||
bool Browser::HandleBeforeQuit() {
|
||||
bool prevent_default = false;
|
||||
FOR_EACH_OBSERVER(BrowserObserver, observers_, OnBeforeQuit(&prevent_default));
|
||||
FOR_EACH_OBSERVER(BrowserObserver,
|
||||
observers_,
|
||||
OnBeforeQuit(&prevent_default));
|
||||
|
||||
return !prevent_default;
|
||||
}
|
||||
|
|
|
@ -13,7 +13,7 @@ class BrowserObserver {
|
|||
public:
|
||||
// The browser is about to close all windows.
|
||||
virtual void OnBeforeQuit(bool* prevent_default) {}
|
||||
|
||||
|
||||
// The browser has closed all windows and will quit.
|
||||
virtual void OnWillQuit(bool* prevent_default) {}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue