migrate off QuitCurrent*Deprecated in browser.cc
modelled after1096475
and1096475
This commit is contained in:
parent
98829aa916
commit
f5eaa97d9d
4 changed files with 21 additions and 3 deletions
|
@ -239,6 +239,10 @@ class Browser : public WindowListObserver {
|
|||
|
||||
void PreMainMessageLoopRun();
|
||||
|
||||
// Stores the supplied |quit_closure|, to be run when the last Browser
|
||||
// instance is destroyed.
|
||||
static void SetMainMessageLoopQuitClosure(base::OnceClosure quit_closure);
|
||||
|
||||
void AddObserver(BrowserObserver* obs) { observers_.AddObserver(obs); }
|
||||
|
||||
void RemoveObserver(BrowserObserver* obs) { observers_.RemoveObserver(obs); }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue