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

Unified Diff: content/browser/service_worker/embedded_worker_instance.cc

Issue 1686223002: Move InterfaceProvider into the shell::mojom namespace like the rest of the shell interfaces. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/service_worker/embedded_worker_instance.cc
diff --git a/content/browser/service_worker/embedded_worker_instance.cc b/content/browser/service_worker/embedded_worker_instance.cc
index 6727f7134a65abc7e9c9aced073a2a3fb6aa8c26..4afc83be0c0b62684b41939fa502c00310ddbd93 100644
--- a/content/browser/service_worker/embedded_worker_instance.cc
+++ b/content/browser/service_worker/embedded_worker_instance.cc
@@ -86,8 +86,8 @@ void RegisterToWorkerDevToolsManagerOnUI(
void SetupMojoOnUIThread(
int process_id,
int thread_id,
- mojo::InterfaceRequest<mojo::InterfaceProvider> services,
- mojo::InterfacePtrInfo<mojo::InterfaceProvider> exposed_services) {
+ mojo::shell::mojom::InterfaceProviderRequest services,
+ mojo::shell::mojom::InterfaceProviderPtrInfo exposed_services) {
RenderProcessHost* rph = RenderProcessHost::FromID(process_id);
// |rph| or its ServiceRegistry may be NULL in unit tests.
if (!rph || !rph->GetServiceRegistry())
@@ -511,10 +511,10 @@ void EmbeddedWorkerInstance::OnThreadStarted(int thread_id) {
thread_id_ = thread_id;
FOR_EACH_OBSERVER(Listener, listener_list_, OnThreadStarted());
- mojo::InterfaceProviderPtr exposed_services;
+ mojo::shell::mojom::InterfaceProviderPtr exposed_services;
service_registry_->Bind(GetProxy(&exposed_services));
- mojo::InterfaceProviderPtr services;
- mojo::InterfaceRequest<mojo::InterfaceProvider> services_request =
+ mojo::shell::mojom::InterfaceProviderPtr services;
+ mojo::shell::mojom::InterfaceProviderRequest services_request =
GetProxy(&services);
BrowserThread::PostTask(
BrowserThread::UI, FROM_HERE,
« no previous file with comments | « content/browser/mojo/mojo_shell_context.cc ('k') | content/browser/service_worker/embedded_worker_test_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698