Add icon manager to browser process
This commit is contained in:
parent
602aba8723
commit
1b3cd87fc9
3 changed files with 12 additions and 1 deletions
|
@ -5,6 +5,7 @@
|
|||
#include "chrome/browser/browser_process.h"
|
||||
|
||||
#include "chrome/browser/printing/print_job_manager.h"
|
||||
#include "chrome/browser/icon_manager.h"
|
||||
#include "ui/base/l10n/l10n_util.h"
|
||||
|
||||
BrowserProcess* g_browser_process = NULL;
|
||||
|
@ -12,6 +13,8 @@ BrowserProcess* g_browser_process = NULL;
|
|||
BrowserProcess::BrowserProcess()
|
||||
: print_job_manager_(new printing::PrintJobManager) {
|
||||
g_browser_process = this;
|
||||
|
||||
icon_manager_.reset(new IconManager);
|
||||
}
|
||||
|
||||
BrowserProcess::~BrowserProcess() {
|
||||
|
@ -25,3 +28,7 @@ std::string BrowserProcess::GetApplicationLocale() {
|
|||
printing::PrintJobManager* BrowserProcess::print_job_manager() {
|
||||
return print_job_manager_.get();
|
||||
}
|
||||
|
||||
IconManager* BrowserProcess::icon_manager() {
|
||||
return icon_manager_.get();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue