This source file includes following definitions.
- GetInstance
- SetInstance
#include "ui/views/widget/desktop_aura/desktop_factory_ozone.h"
#include "base/logging.h"
namespace views {
DesktopFactoryOzone* DesktopFactoryOzone::impl_ = NULL;
DesktopFactoryOzone::DesktopFactoryOzone() {
}
DesktopFactoryOzone::~DesktopFactoryOzone() {
}
DesktopFactoryOzone* DesktopFactoryOzone::GetInstance() {
CHECK(impl_) << "DesktopFactoryOzone accessed before constructed";
return impl_;
}
void DesktopFactoryOzone::SetInstance(DesktopFactoryOzone* impl) {
impl_ = impl;
}
}