This source file includes following definitions.
- Shutdown
- Get
#include "chrome/browser/chromeos/extensions/file_manager/file_browser_private_api.h"
#include "chrome/browser/chromeos/extensions/file_manager/event_router.h"
#include "chrome/browser/chromeos/extensions/file_manager/file_browser_private_api_factory.h"
namespace file_manager {
FileBrowserPrivateAPI::FileBrowserPrivateAPI(Profile* profile)
: event_router_(new EventRouter(profile)) {
event_router_->ObserveEvents();
}
FileBrowserPrivateAPI::~FileBrowserPrivateAPI() {
}
void FileBrowserPrivateAPI::Shutdown() {
event_router_->Shutdown();
}
FileBrowserPrivateAPI* FileBrowserPrivateAPI::Get(Profile* profile) {
return FileBrowserPrivateAPIFactory::GetForProfile(profile);
}
}