Add icon manager to browser process

This commit is contained in:
Yury Solovyov 2016-10-30 17:10:09 +03:00 committed by Kevin Sawicki
commit 1b3cd87fc9
3 changed files with 12 additions and 1 deletions

View file

@ -19,6 +19,8 @@ namespace printing {
class PrintJobManager;
}
class IconManager;
// NOT THREAD SAFE, call only from the main thread.
// These functions shouldn't return NULL unless otherwise noted.
class BrowserProcess {
@ -29,9 +31,11 @@ class BrowserProcess {
std::string GetApplicationLocale();
printing::PrintJobManager* print_job_manager();
IconManager* icon_manager();
private:
std::unique_ptr<printing::PrintJobManager> print_job_manager_;
std::unique_ptr<IconManager> icon_manager_;
DISALLOW_COPY_AND_ASSIGN(BrowserProcess);
};