Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(112)

Side by Side Diff: extensions/browser/mojo/service_registration.cc

Issue 2099063002: Migrate RenderProcessHost, ChildThread to InterfaceRegistry/Provider (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
OLDNEW
« no previous file with comments | « content/utility/utility_thread_impl.cc ('k') | headless/lib/browser/headless_web_contents_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698