| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 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 | 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 "apps/shell/browser/shell_browser_context.h" | 5 #include "extensions/shell/browser/shell_browser_context.h" |
| 6 #include "apps/shell/browser/shell_special_storage_policy.h" | 6 #include "extensions/shell/browser/shell_special_storage_policy.h" |
| 7 | 7 |
| 8 namespace apps { | 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 } |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 void ShellBrowserContext::ProfileFunctionCallOnNonProfileBrowserContext13() { | 60 void ShellBrowserContext::ProfileFunctionCallOnNonProfileBrowserContext13() { |
| 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 apps | 70 } // namespace extensions |
| OLD | NEW |