Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / extensions / shell / browser / shell_browser_context.cc
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
10 namespace 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.
14 ShellBrowserContext::ShellBrowserContext()
15     : content::ShellBrowserContext(false, NULL),
16       storage_policy_(new ShellSpecialStoragePolicy) {
17 }
18
19 ShellBrowserContext::~ShellBrowserContext() {
20 }
21
22 content::BrowserPluginGuestManager* ShellBrowserContext::GetGuestManager() {
23   return GuestViewManager::FromBrowserContext(this);
24 }
25
26 storage::SpecialStoragePolicy* ShellBrowserContext::GetSpecialStoragePolicy() {
27   return storage_policy_.get();
28 }
29
30 void ShellBrowserContext::ProfileFunctionCallOnNonProfileBrowserContext1() {
31   NOTREACHED();
32 }
33 void ShellBrowserContext::ProfileFunctionCallOnNonProfileBrowserContext2() {
34   NOTREACHED();
35 }
36 void ShellBrowserContext::ProfileFunctionCallOnNonProfileBrowserContext3() {
37   NOTREACHED();
38 }
39 void ShellBrowserContext::ProfileFunctionCallOnNonProfileBrowserContext4() {
40   NOTREACHED();
41 }
42 void ShellBrowserContext::ProfileFunctionCallOnNonProfileBrowserContext5() {
43   NOTREACHED();
44 }
45 void ShellBrowserContext::ProfileFunctionCallOnNonProfileBrowserContext6() {
46   NOTREACHED();
47 }
48 void ShellBrowserContext::ProfileFunctionCallOnNonProfileBrowserContext7() {
49   NOTREACHED();
50 }
51 void ShellBrowserContext::ProfileFunctionCallOnNonProfileBrowserContext8() {
52   NOTREACHED();
53 }
54 void ShellBrowserContext::ProfileFunctionCallOnNonProfileBrowserContext9() {
55   NOTREACHED();
56 }
57 void ShellBrowserContext::ProfileFunctionCallOnNonProfileBrowserContext10() {
58   NOTREACHED();
59 }
60 void ShellBrowserContext::ProfileFunctionCallOnNonProfileBrowserContext11() {
61   NOTREACHED();
62 }
63 void ShellBrowserContext::ProfileFunctionCallOnNonProfileBrowserContext12() {
64   NOTREACHED();
65 }
66 void ShellBrowserContext::ProfileFunctionCallOnNonProfileBrowserContext13() {
67   NOTREACHED();
68 }
69 void ShellBrowserContext::ProfileFunctionCallOnNonProfileBrowserContext14() {
70   NOTREACHED();
71 }
72 void ShellBrowserContext::ProfileFunctionCallOnNonProfileBrowserContext15() {
73   NOTREACHED();
74 }
75
76 }  // namespace extensions