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.
5 #include "extensions/shell/browser/shell_browser_context.h"
7 #include "extensions/browser/guest_view/guest_view_manager.h"
8 #include "extensions/shell/browser/shell_special_storage_policy.h"
10 namespace extensions {
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.
14 ShellBrowserContext::ShellBrowserContext()
15 : content::ShellBrowserContext(false, NULL),
16 storage_policy_(new ShellSpecialStoragePolicy) {
19 ShellBrowserContext::~ShellBrowserContext() {
22 content::BrowserPluginGuestManager* ShellBrowserContext::GetGuestManager() {
23 return GuestViewManager::FromBrowserContext(this);
26 storage::SpecialStoragePolicy* ShellBrowserContext::GetSpecialStoragePolicy() {
27 return storage_policy_.get();
30 void ShellBrowserContext::ProfileFunctionCallOnNonProfileBrowserContext1() {
33 void ShellBrowserContext::ProfileFunctionCallOnNonProfileBrowserContext2() {
36 void ShellBrowserContext::ProfileFunctionCallOnNonProfileBrowserContext3() {
39 void ShellBrowserContext::ProfileFunctionCallOnNonProfileBrowserContext4() {
42 void ShellBrowserContext::ProfileFunctionCallOnNonProfileBrowserContext5() {
45 void ShellBrowserContext::ProfileFunctionCallOnNonProfileBrowserContext6() {
48 void ShellBrowserContext::ProfileFunctionCallOnNonProfileBrowserContext7() {
51 void ShellBrowserContext::ProfileFunctionCallOnNonProfileBrowserContext8() {
54 void ShellBrowserContext::ProfileFunctionCallOnNonProfileBrowserContext9() {
57 void ShellBrowserContext::ProfileFunctionCallOnNonProfileBrowserContext10() {
60 void ShellBrowserContext::ProfileFunctionCallOnNonProfileBrowserContext11() {
63 void ShellBrowserContext::ProfileFunctionCallOnNonProfileBrowserContext12() {
66 void ShellBrowserContext::ProfileFunctionCallOnNonProfileBrowserContext13() {
69 void ShellBrowserContext::ProfileFunctionCallOnNonProfileBrowserContext14() {
72 void ShellBrowserContext::ProfileFunctionCallOnNonProfileBrowserContext15() {
76 } // namespace extensions