| Index: apps/shell/shell_browser_context.cc
|
| diff --git a/apps/shell/shell_browser_context.cc b/apps/shell/shell_browser_context.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..32954e7191591086b1da975b5d688d1c13870e52
|
| --- /dev/null
|
| +++ b/apps/shell/shell_browser_context.cc
|
| @@ -0,0 +1,59 @@
|
| +// Copyright 2013 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#include "apps/shell/shell_browser_context.h"
|
| +
|
| +#include "apps/app_load_service_factory.h"
|
| +
|
| +namespace {
|
| +
|
| +// See ChromeBrowserMainExtraPartsProfiles for details.
|
| +void EnsureBrowserContextKeyedServiceFactoriesBuilt() {
|
| + apps::AppLoadServiceFactory::GetInstance();
|
| +}
|
| +
|
| +} // namespace
|
| +
|
| +namespace apps {
|
| +
|
| +// TODO(jamescook): Should this be an off-the-record context?
|
| +// TODO(jamescook): Could initialize NetLog here to get logs from the networking
|
| +// stack.
|
| +ShellBrowserContext::ShellBrowserContext()
|
| + : content::ShellBrowserContext(false, NULL) {
|
| + EnsureBrowserContextKeyedServiceFactoriesBuilt();
|
| +}
|
| +
|
| +ShellBrowserContext::~ShellBrowserContext() {
|
| +}
|
| +
|
| +void ShellBrowserContext::ProfileFunctionCallOnNonProfileBrowserContext1() {
|
| + NOTREACHED();
|
| +}
|
| +void ShellBrowserContext::ProfileFunctionCallOnNonProfileBrowserContext2() {
|
| + NOTREACHED();
|
| +}
|
| +void ShellBrowserContext::ProfileFunctionCallOnNonProfileBrowserContext3() {
|
| + NOTREACHED();
|
| +}
|
| +void ShellBrowserContext::ProfileFunctionCallOnNonProfileBrowserContext4() {
|
| + NOTREACHED();
|
| +}
|
| +void ShellBrowserContext::ProfileFunctionCallOnNonProfileBrowserContext5() {
|
| + NOTREACHED();
|
| +}
|
| +void ShellBrowserContext::ProfileFunctionCallOnNonProfileBrowserContext6() {
|
| + NOTREACHED();
|
| +}
|
| +void ShellBrowserContext::ProfileFunctionCallOnNonProfileBrowserContext7() {
|
| + NOTREACHED();
|
| +}
|
| +void ShellBrowserContext::ProfileFunctionCallOnNonProfileBrowserContext8() {
|
| + NOTREACHED();
|
| +}
|
| +void ShellBrowserContext::ProfileFunctionCallOnNonProfileBrowserContext9() {
|
| + NOTREACHED();
|
| +}
|
| +
|
| +} // namespace apps
|
|
|