Destroy icon manager after file thread is destroyed
This commit is contained in:
parent
977abc6458
commit
5687f8b3b7
4 changed files with 24 additions and 12 deletions
|
@ -15,6 +15,8 @@
|
|||
|
||||
#include "base/macros.h"
|
||||
|
||||
class IconManager;
|
||||
|
||||
namespace printing {
|
||||
class PrintJobManager;
|
||||
}
|
||||
|
@ -27,11 +29,13 @@ class BrowserProcess {
|
|||
~BrowserProcess();
|
||||
|
||||
std::string GetApplicationLocale();
|
||||
IconManager* GetIconManager();
|
||||
|
||||
printing::PrintJobManager* print_job_manager();
|
||||
|
||||
private:
|
||||
std::unique_ptr<printing::PrintJobManager> print_job_manager_;
|
||||
std::unique_ptr<IconManager> icon_manager_;
|
||||
|
||||
DISALLOW_COPY_AND_ASSIGN(BrowserProcess);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue