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

Side by Side Diff: services/shell/public/interfaces/shell.mojom

Issue 1882423004: Move shell service to toplevel shell namespace (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 8 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 module mojo.shell.mojom; 5 module shell.mojom;
6 6
7 import "services/shell/public/interfaces/connector.mojom"; 7 import "services/shell/public/interfaces/connector.mojom";
8 8
9 struct InstanceInfo { 9 struct InstanceInfo {
10 uint32 id; 10 uint32 id;
11 Identity identity; 11 Identity identity;
12 uint32 pid; 12 uint32 pid;
13 }; 13 };
14 14
15 // Implemented by a client that wishes to be informed when the list of running 15 // Implemented by a client that wishes to be informed when the list of running
(...skipping 16 matching lines...) Expand all
32 // Called when a pid is available for the instance. This could be because a 32 // Called when a pid is available for the instance. This could be because a
33 // process was created by the runner for it, or because an existing content 33 // process was created by the runner for it, or because an existing content
34 // handler process was assigned. 34 // handler process was assigned.
35 InstancePIDAvailable(uint32 id, uint32 pid); 35 InstancePIDAvailable(uint32 id, uint32 pid);
36 }; 36 };
37 37
38 interface Shell { 38 interface Shell {
39 // The listener is removed when the |listener| pipe is closed. 39 // The listener is removed when the |listener| pipe is closed.
40 AddInstanceListener(InstanceListener listener); 40 AddInstanceListener(InstanceListener listener);
41 }; 41 };
OLDNEW
« no previous file with comments | « services/shell/public/interfaces/interface_provider.mojom ('k') | services/shell/public/interfaces/shell_client.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698