| 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_extensions_browser_client.h" | 5 #include "extensions/shell/browser/shell_extensions_browser_client.h" |
| 6 | 6 |
| 7 #include <utility> | 7 #include <utility> |
| 8 | 8 |
| 9 #include "build/build_config.h" |
| 9 #include "content/public/browser/browser_context.h" | 10 #include "content/public/browser/browser_context.h" |
| 10 #include "content/public/browser/browser_thread.h" | 11 #include "content/public/browser/browser_thread.h" |
| 11 #include "content/public/browser/render_frame_host.h" | 12 #include "content/public/browser/render_frame_host.h" |
| 12 #include "extensions/browser/api/extensions_api_client.h" | 13 #include "extensions/browser/api/extensions_api_client.h" |
| 13 #include "extensions/browser/api/generated_api_registration.h" | 14 #include "extensions/browser/api/generated_api_registration.h" |
| 14 #include "extensions/browser/event_router.h" | 15 #include "extensions/browser/event_router.h" |
| 15 #include "extensions/browser/extension_function_registry.h" | 16 #include "extensions/browser/extension_function_registry.h" |
| 16 #include "extensions/browser/mojo/service_registration.h" | 17 #include "extensions/browser/mojo/service_registration.h" |
| 17 #include "extensions/browser/null_app_sorting.h" | 18 #include "extensions/browser/null_app_sorting.h" |
| 18 #include "extensions/browser/updater/null_extension_cache.h" | 19 #include "extensions/browser/updater/null_extension_cache.h" |
| (...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 242 api_client_.reset(api_client); | 243 api_client_.reset(api_client); |
| 243 } | 244 } |
| 244 | 245 |
| 245 ExtensionWebContentsObserver* | 246 ExtensionWebContentsObserver* |
| 246 ShellExtensionsBrowserClient::GetExtensionWebContentsObserver( | 247 ShellExtensionsBrowserClient::GetExtensionWebContentsObserver( |
| 247 content::WebContents* web_contents) { | 248 content::WebContents* web_contents) { |
| 248 return ShellExtensionWebContentsObserver::FromWebContents(web_contents); | 249 return ShellExtensionWebContentsObserver::FromWebContents(web_contents); |
| 249 } | 250 } |
| 250 | 251 |
| 251 } // namespace extensions | 252 } // namespace extensions |
| OLD | NEW |