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

Side by Side Diff: content/renderer/service_worker/service_worker_context_client.h

Issue 2420253002: Rename shell namespace to service_manager (Closed)
Patch Set: . Created 4 years, 2 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 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 #ifndef CONTENT_RENDERER_SERVICE_WORKER_SERVICE_WORKER_CONTEXT_CLIENT_H_ 5 #ifndef CONTENT_RENDERER_SERVICE_WORKER_SERVICE_WORKER_CONTEXT_CLIENT_H_
6 #define CONTENT_RENDERER_SERVICE_WORKER_SERVICE_WORKER_CONTEXT_CLIENT_H_ 6 #define CONTENT_RENDERER_SERVICE_WORKER_SERVICE_WORKER_CONTEXT_CLIENT_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 int worker_devtools_agent_route_id, 86 int worker_devtools_agent_route_id,
87 std::unique_ptr<EmbeddedWorkerInstanceClientImpl> embedded_worker); 87 std::unique_ptr<EmbeddedWorkerInstanceClientImpl> embedded_worker);
88 ~ServiceWorkerContextClient() override; 88 ~ServiceWorkerContextClient() override;
89 89
90 void OnMessageReceived(int thread_id, 90 void OnMessageReceived(int thread_id,
91 int embedded_worker_id, 91 int embedded_worker_id,
92 const IPC::Message& message); 92 const IPC::Message& message);
93 93
94 // Called some time after the worker has started. 94 // Called some time after the worker has started.
95 void BindInterfaceProviders( 95 void BindInterfaceProviders(
96 shell::mojom::InterfaceProviderRequest request, 96 service_manager::mojom::InterfaceProviderRequest request,
97 shell::mojom::InterfaceProviderPtr remote_interfaces); 97 service_manager::mojom::InterfaceProviderPtr remote_interfaces);
98 98
99 // WebServiceWorkerContextClient overrides. 99 // WebServiceWorkerContextClient overrides.
100 blink::WebURL scope() const override; 100 blink::WebURL scope() const override;
101 void getClient(const blink::WebString&, 101 void getClient(const blink::WebString&,
102 blink::WebServiceWorkerClientCallbacks*) override; 102 blink::WebServiceWorkerClientCallbacks*) override;
103 void getClients(const blink::WebServiceWorkerClientQueryOptions&, 103 void getClients(const blink::WebServiceWorkerClientQueryOptions&,
104 blink::WebServiceWorkerClientsCallbacks*) override; 104 blink::WebServiceWorkerClientsCallbacks*) override;
105 void openWindow(const blink::WebURL&, 105 void openWindow(const blink::WebURL&,
106 blink::WebServiceWorkerClientCallbacks*) override; 106 blink::WebServiceWorkerClientCallbacks*) override;
107 void setCachedMetadata(const blink::WebURL&, 107 void setCachedMetadata(const blink::WebURL&,
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
273 // Initialized on the worker thread in workerContextStarted and 273 // Initialized on the worker thread in workerContextStarted and
274 // destructed on the worker thread in willDestroyWorkerContext. 274 // destructed on the worker thread in willDestroyWorkerContext.
275 std::unique_ptr<WorkerContextData> context_; 275 std::unique_ptr<WorkerContextData> context_;
276 276
277 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerContextClient); 277 DISALLOW_COPY_AND_ASSIGN(ServiceWorkerContextClient);
278 }; 278 };
279 279
280 } // namespace content 280 } // namespace content
281 281
282 #endif // CONTENT_RENDERER_SERVICE_WORKER_SERVICE_WORKER_CONTEXT_CLIENT_H_ 282 #endif // CONTENT_RENDERER_SERVICE_WORKER_SERVICE_WORKER_CONTEXT_CLIENT_H_
OLDNEW
« no previous file with comments | « content/renderer/renderer_blink_platform_impl.cc ('k') | content/renderer/service_worker/service_worker_context_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698