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 "apps/app_window.h" | 5 #include "apps/app_window.h" |
6 #include "apps/app_window_registry.h" | 6 #include "apps/app_window_registry.h" |
7 #include "apps/apps_client.h" | 7 #include "apps/apps_client.h" |
8 #include "apps/ui/native_app_window.h" | 8 #include "apps/ui/native_app_window.h" |
9 #include "components/keyed_service/content/browser_context_dependency_manager.h" | 9 #include "components/keyed_service/content/browser_context_dependency_manager.h" |
10 #include "content/public/browser/browser_context.h" | 10 #include "content/public/browser/browser_context.h" |
(...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
297 bool AppWindowRegistry::Factory::ServiceIsNULLWhileTesting() const { | 297 bool AppWindowRegistry::Factory::ServiceIsNULLWhileTesting() const { |
298 return false; | 298 return false; |
299 } | 299 } |
300 | 300 |
301 content::BrowserContext* AppWindowRegistry::Factory::GetBrowserContextToUse( | 301 content::BrowserContext* AppWindowRegistry::Factory::GetBrowserContextToUse( |
302 content::BrowserContext* context) const { | 302 content::BrowserContext* context) const { |
303 return extensions::ExtensionsBrowserClient::Get()->GetOriginalContext( | 303 return extensions::ExtensionsBrowserClient::Get()->GetOriginalContext( |
304 context); | 304 context); |
305 } | 305 } |
306 | 306 |
307 } // namespace extensions | 307 } // namespace apps |
OLD | NEW |