1// Copyright 2014 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 "extensions/shell/browser/shell_browser_context.h" 6 7#include "extensions/browser/guest_view/guest_view_manager.h" 8#include "extensions/shell/browser/shell_special_storage_policy.h" 9 10namespace extensions { 11 12// Create a normal recording browser context. If we used an incognito context 13// then app_shell would also have to create a normal context and manage both. 14ShellBrowserContext::ShellBrowserContext() 15 : content::ShellBrowserContext(false, NULL), 16 storage_policy_(new ShellSpecialStoragePolicy) { 17} 18 19ShellBrowserContext::~ShellBrowserContext() { 20} 21 22content::BrowserPluginGuestManager* ShellBrowserContext::GetGuestManager() { 23 return GuestViewManager::FromBrowserContext(this); 24} 25 26storage::SpecialStoragePolicy* ShellBrowserContext::GetSpecialStoragePolicy() { 27 return storage_policy_.get(); 28} 29 30void ShellBrowserContext::ProfileFunctionCallOnNonProfileBrowserContext1() { 31 NOTREACHED(); 32} 33void ShellBrowserContext::ProfileFunctionCallOnNonProfileBrowserContext2() { 34 NOTREACHED(); 35} 36void ShellBrowserContext::ProfileFunctionCallOnNonProfileBrowserContext3() { 37 NOTREACHED(); 38} 39void ShellBrowserContext::ProfileFunctionCallOnNonProfileBrowserContext4() { 40 NOTREACHED(); 41} 42void ShellBrowserContext::ProfileFunctionCallOnNonProfileBrowserContext5() { 43 NOTREACHED(); 44} 45void ShellBrowserContext::ProfileFunctionCallOnNonProfileBrowserContext6() { 46 NOTREACHED(); 47} 48void ShellBrowserContext::ProfileFunctionCallOnNonProfileBrowserContext7() { 49 NOTREACHED(); 50} 51void ShellBrowserContext::ProfileFunctionCallOnNonProfileBrowserContext8() { 52 NOTREACHED(); 53} 54void ShellBrowserContext::ProfileFunctionCallOnNonProfileBrowserContext9() { 55 NOTREACHED(); 56} 57void ShellBrowserContext::ProfileFunctionCallOnNonProfileBrowserContext10() { 58 NOTREACHED(); 59} 60void ShellBrowserContext::ProfileFunctionCallOnNonProfileBrowserContext11() { 61 NOTREACHED(); 62} 63void ShellBrowserContext::ProfileFunctionCallOnNonProfileBrowserContext12() { 64 NOTREACHED(); 65} 66void ShellBrowserContext::ProfileFunctionCallOnNonProfileBrowserContext13() { 67 NOTREACHED(); 68} 69void ShellBrowserContext::ProfileFunctionCallOnNonProfileBrowserContext14() { 70 NOTREACHED(); 71} 72void ShellBrowserContext::ProfileFunctionCallOnNonProfileBrowserContext15() { 73 NOTREACHED(); 74} 75 76} // namespace extensions 77