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

Side by Side Diff: content/common/service_worker/embedded_worker.mojom

Issue 2630273002: ServiceWorker: mojofy ResumeAfterDownload and AddMessageToConsole (Closed)
Patch Set: s/is/was/ , add :: before blink and remove unnecessary include Created 3 years, 11 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 module content.mojom; 5 module content.mojom;
6 6
7 import "content/common/service_worker/service_worker_event_dispatcher.mojom"; 7 import "content/common/service_worker/service_worker_event_dispatcher.mojom";
8 import "services/service_manager/public/interfaces/interface_provider.mojom"; 8 import "services/service_manager/public/interfaces/interface_provider.mojom";
9 import "third_party/WebKit/public/web/console_message.mojom";
9 import "url/mojo/url.mojom"; 10 import "url/mojo/url.mojom";
10 11
11 [Native] 12 [Native]
12 struct EmbeddedWorkerStartParams; 13 struct EmbeddedWorkerStartParams;
13 14
14 // Interface to control a renderer-side worker's environment. 15 // Interface to control a renderer-side worker's environment.
15 interface EmbeddedWorkerInstanceClient { 16 interface EmbeddedWorkerInstanceClient {
16 StartWorker(EmbeddedWorkerStartParams params, 17 StartWorker(EmbeddedWorkerStartParams params,
17 ServiceWorkerEventDispatcher& dispatcher_request); 18 ServiceWorkerEventDispatcher& dispatcher_request);
18 StopWorker() => (); 19 StopWorker() => ();
20 ResumeAfterDownload();
21 AddMessageToConsole(blink.mojom.ConsoleMessageLevel level,
22 string message);
19 }; 23 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698