electron/browser/atom_browser_context.cc

24 lines
541 B
C++
Raw Normal View History

// Copyright (c) 2013 GitHub, Inc. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "browser/atom_browser_context.h"
#include "browser/atom_browser_main_parts.h"
namespace atom {
AtomBrowserContext::AtomBrowserContext() {
}
AtomBrowserContext::~AtomBrowserContext() {
}
// static
AtomBrowserContext* AtomBrowserContext::Get() {
return static_cast<AtomBrowserContext*>(
AtomBrowserMainParts::Get()->browser_context());
}
} // namespace atom