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

Side by Side Diff: mojo/shell/tests/connect/connect_test.mojom

Issue 1770533002: Change userid from a uint32_t to a string guid (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@33connector
Patch Set: . Created 4 years, 9 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
« no previous file with comments | « mojo/shell/standalone/context.cc ('k') | mojo/shell/tests/connect/connect_test_app.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 mojo.shell.test.mojom; 5 module mojo.shell.test.mojom;
6 6
7 interface ConnectTestService { 7 interface ConnectTestService {
8 GetTitle() => (string title); 8 GetTitle() => (string title);
9 }; 9 };
10 10
11 // Interface implemented by a standalone (non-package) app. 11 // Interface implemented by a standalone (non-package) app.
12 interface StandaloneApp { 12 interface StandaloneApp {
13 // Attempts to connect to an application whose name is explicitly allowed by 13 // Attempts to connect to an application whose name is explicitly allowed by
14 // the standalone app's CapabilityFilter, but whose enclosing package is not. 14 // the standalone app's CapabilityFilter, but whose enclosing package is not.
15 // The connection should be blocked and title should be "uninitialized". 15 // The connection should be blocked and title should be "uninitialized".
16 ConnectToAllowedAppInBlockedPackage() => (string title); 16 ConnectToAllowedAppInBlockedPackage() => (string title);
17 }; 17 };
18 18
19 struct ConnectionState { 19 struct ConnectionState {
20 string connection_local_name; 20 string connection_local_name;
21 string connection_remote_name; 21 string connection_remote_name;
22 uint32 connection_remote_userid; 22 string connection_remote_userid;
23 uint32 connection_remote_id; 23 uint32 connection_remote_id;
24 string initialize_local_name; 24 string initialize_local_name;
25 string initialize_userid;
25 uint32 initialize_id; 26 uint32 initialize_id;
26 uint32 initialize_userid;
27 }; 27 };
28 28
29 interface ExposedInterface { 29 interface ExposedInterface {
30 ConnectionAccepted(ConnectionState state); 30 ConnectionAccepted(ConnectionState state);
31 }; 31 };
32 32
33 interface BlockedInterface { 33 interface BlockedInterface {
34 GetTitleBlocked() => (string blocked_title); 34 GetTitleBlocked() => (string blocked_title);
35 }; 35 };
OLDNEW
« no previous file with comments | « mojo/shell/standalone/context.cc ('k') | mojo/shell/tests/connect/connect_test_app.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698