OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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/browser/mojo/service_registration.h" | 5 #include "extensions/browser/mojo/service_registration.h" |
6 | 6 |
7 #include <string> | 7 #include <string> |
8 | 8 |
9 #include "base/bind.h" | 9 #include "base/bind.h" |
10 #include "base/command_line.h" | 10 #include "base/command_line.h" |
11 #include "content/public/browser/render_frame_host.h" | 11 #include "content/public/browser/render_frame_host.h" |
12 #include "content/public/browser/render_process_host.h" | 12 #include "content/public/browser/render_process_host.h" |
13 #include "content/public/browser/site_instance.h" | 13 #include "content/public/browser/site_instance.h" |
14 #include "content/public/common/service_registry.h" | |
15 #include "extensions/browser/api/serial/serial_service_factory.h" | 14 #include "extensions/browser/api/serial/serial_service_factory.h" |
16 #include "extensions/browser/extension_registry.h" | 15 #include "extensions/browser/extension_registry.h" |
17 #include "extensions/browser/extensions_browser_client.h" | 16 #include "extensions/browser/extensions_browser_client.h" |
18 #include "extensions/browser/mojo/keep_alive_impl.h" | 17 #include "extensions/browser/mojo/keep_alive_impl.h" |
19 #include "extensions/browser/process_map.h" | 18 #include "extensions/browser/process_map.h" |
20 #include "extensions/common/constants.h" | 19 #include "extensions/common/constants.h" |
21 #include "extensions/common/extension_api.h" | 20 #include "extensions/common/extension_api.h" |
22 #include "extensions/common/switches.h" | 21 #include "extensions/common/switches.h" |
23 #include "services/shell/public/cpp/interface_registry.h" | 22 #include "services/shell/public/cpp/interface_registry.h" |
24 | 23 |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 registry->AddInterface( | 66 registry->AddInterface( |
68 base::Bind(WiFiDisplaySessionServiceImpl::BindToRequest, | 67 base::Bind(WiFiDisplaySessionServiceImpl::BindToRequest, |
69 render_frame_host->GetProcess()->GetBrowserContext())); | 68 render_frame_host->GetProcess()->GetBrowserContext())); |
70 registry->AddInterface( | 69 registry->AddInterface( |
71 base::Bind(WiFiDisplayMediaServiceImpl::BindToRequest)); | 70 base::Bind(WiFiDisplayMediaServiceImpl::BindToRequest)); |
72 } | 71 } |
73 #endif | 72 #endif |
74 } | 73 } |
75 | 74 |
76 } // namespace extensions | 75 } // namespace extensions |
OLD | NEW |