Home | History | Annotate | Download | only in shell
      1 // Copyright 2013 The Chromium Authors. All rights reserved.
      2 // Use of this source code is governed by a BSD-style license that can be
      3 // found in the LICENSE file.
      4 
      5 #include "apps/shell/shell_browser_context.h"
      6 
      7 #include "apps/app_load_service_factory.h"
      8 
      9 namespace {
     10 
     11 // See ChromeBrowserMainExtraPartsProfiles for details.
     12 void EnsureBrowserContextKeyedServiceFactoriesBuilt() {
     13   apps::AppLoadServiceFactory::GetInstance();
     14 }
     15 
     16 }  // namespace
     17 
     18 namespace apps {
     19 
     20 // TODO(jamescook): Should this be an off-the-record context?
     21 // TODO(jamescook): Could initialize NetLog here to get logs from the networking
     22 // stack.
     23 ShellBrowserContext::ShellBrowserContext()
     24     : content::ShellBrowserContext(false, NULL) {
     25   EnsureBrowserContextKeyedServiceFactoriesBuilt();
     26 }
     27 
     28 ShellBrowserContext::~ShellBrowserContext() {
     29 }
     30 
     31 void ShellBrowserContext::ProfileFunctionCallOnNonProfileBrowserContext1() {
     32   NOTREACHED();
     33 }
     34 void ShellBrowserContext::ProfileFunctionCallOnNonProfileBrowserContext2() {
     35   NOTREACHED();
     36 }
     37 void ShellBrowserContext::ProfileFunctionCallOnNonProfileBrowserContext3() {
     38   NOTREACHED();
     39 }
     40 void ShellBrowserContext::ProfileFunctionCallOnNonProfileBrowserContext4() {
     41   NOTREACHED();
     42 }
     43 void ShellBrowserContext::ProfileFunctionCallOnNonProfileBrowserContext5() {
     44   NOTREACHED();
     45 }
     46 void ShellBrowserContext::ProfileFunctionCallOnNonProfileBrowserContext6() {
     47   NOTREACHED();
     48 }
     49 void ShellBrowserContext::ProfileFunctionCallOnNonProfileBrowserContext7() {
     50   NOTREACHED();
     51 }
     52 void ShellBrowserContext::ProfileFunctionCallOnNonProfileBrowserContext8() {
     53   NOTREACHED();
     54 }
     55 void ShellBrowserContext::ProfileFunctionCallOnNonProfileBrowserContext9() {
     56   NOTREACHED();
     57 }
     58 
     59 }  // namespace apps
     60