OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "extensions/shell/browser/shell_browser_context.h" | 5 #include "extensions/shell/browser/shell_browser_context.h" |
6 #include "extensions/shell/browser/shell_special_storage_policy.h" | 6 #include "extensions/shell/browser/shell_special_storage_policy.h" |
7 | 7 |
8 namespace extensions { | 8 namespace extensions { |
9 | 9 |
10 // Create a normal recording browser context. If we used an incognito context | 10 // Create a normal recording browser context. If we used an incognito context |
11 // then app_shell would also have to create a normal context and manage both. | 11 // then app_shell would also have to create a normal context and manage both. |
12 ShellBrowserContext::ShellBrowserContext() | 12 ShellBrowserContext::ShellBrowserContext() |
13 : content::ShellBrowserContext(false, NULL), | 13 : content::ShellBrowserContext(false, NULL), |
14 storage_policy_(new ShellSpecialStoragePolicy) { | 14 storage_policy_(new ShellSpecialStoragePolicy) { |
15 } | 15 } |
16 | 16 |
17 ShellBrowserContext::~ShellBrowserContext() { | 17 ShellBrowserContext::~ShellBrowserContext() { |
18 } | 18 } |
19 | 19 |
20 quota::SpecialStoragePolicy* ShellBrowserContext::GetSpecialStoragePolicy() { | 20 storage::SpecialStoragePolicy* ShellBrowserContext::GetSpecialStoragePolicy() { |
21 return storage_policy_.get(); | 21 return storage_policy_.get(); |
22 } | 22 } |
23 | 23 |
24 void ShellBrowserContext::ProfileFunctionCallOnNonProfileBrowserContext1() { | 24 void ShellBrowserContext::ProfileFunctionCallOnNonProfileBrowserContext1() { |
25 NOTREACHED(); | 25 NOTREACHED(); |
26 } | 26 } |
27 void ShellBrowserContext::ProfileFunctionCallOnNonProfileBrowserContext2() { | 27 void ShellBrowserContext::ProfileFunctionCallOnNonProfileBrowserContext2() { |
28 NOTREACHED(); | 28 NOTREACHED(); |
29 } | 29 } |
30 void ShellBrowserContext::ProfileFunctionCallOnNonProfileBrowserContext3() { | 30 void ShellBrowserContext::ProfileFunctionCallOnNonProfileBrowserContext3() { |
(...skipping 30 matching lines...) Expand all Loading... |
61 NOTREACHED(); | 61 NOTREACHED(); |
62 } | 62 } |
63 void ShellBrowserContext::ProfileFunctionCallOnNonProfileBrowserContext14() { | 63 void ShellBrowserContext::ProfileFunctionCallOnNonProfileBrowserContext14() { |
64 NOTREACHED(); | 64 NOTREACHED(); |
65 } | 65 } |
66 void ShellBrowserContext::ProfileFunctionCallOnNonProfileBrowserContext15() { | 66 void ShellBrowserContext::ProfileFunctionCallOnNonProfileBrowserContext15() { |
67 NOTREACHED(); | 67 NOTREACHED(); |
68 } | 68 } |
69 | 69 |
70 } // namespace extensions | 70 } // namespace extensions |
OLD | NEW |