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 | 6 |
7 #include "extensions/browser/guest_view/guest_view_manager.h" | 7 #include "extensions/browser/guest_view/guest_view_manager.h" |
8 #include "extensions/shell/browser/shell_special_storage_policy.h" | 8 #include "extensions/shell/browser/shell_special_storage_policy.h" |
9 | 9 |
10 namespace extensions { | 10 namespace extensions { |
11 | 11 |
12 // Create a normal recording browser context. If we used an incognito context | 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. | 13 // then app_shell would also have to create a normal context and manage both. |
14 ShellBrowserContext::ShellBrowserContext() | 14 ShellBrowserContext::ShellBrowserContext() |
15 : content::ShellBrowserContext(false, NULL), | 15 : content::ShellBrowserContext(false, nullptr), |
16 storage_policy_(new ShellSpecialStoragePolicy) { | 16 storage_policy_(new ShellSpecialStoragePolicy) { |
17 } | 17 } |
18 | 18 |
19 ShellBrowserContext::~ShellBrowserContext() { | 19 ShellBrowserContext::~ShellBrowserContext() { |
20 } | 20 } |
21 | 21 |
22 content::BrowserPluginGuestManager* ShellBrowserContext::GetGuestManager() { | 22 content::BrowserPluginGuestManager* ShellBrowserContext::GetGuestManager() { |
23 return GuestViewManager::FromBrowserContext(this); | 23 return GuestViewManager::FromBrowserContext(this); |
24 } | 24 } |
25 | 25 |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 NOTREACHED(); | 67 NOTREACHED(); |
68 } | 68 } |
69 void ShellBrowserContext::ProfileFunctionCallOnNonProfileBrowserContext14() { | 69 void ShellBrowserContext::ProfileFunctionCallOnNonProfileBrowserContext14() { |
70 NOTREACHED(); | 70 NOTREACHED(); |
71 } | 71 } |
72 void ShellBrowserContext::ProfileFunctionCallOnNonProfileBrowserContext15() { | 72 void ShellBrowserContext::ProfileFunctionCallOnNonProfileBrowserContext15() { |
73 NOTREACHED(); | 73 NOTREACHED(); |
74 } | 74 } |
75 | 75 |
76 } // namespace extensions | 76 } // namespace extensions |
OLD | NEW |