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

Unified Diff: mojo/shell/tests/connect/connect_test.mojom

Issue 1783303002: Revert of Capability Classes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@45class
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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « mojo/shell/tests/connect/BUILD.gn ('k') | mojo/shell/tests/connect/connect_test_app.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/shell/tests/connect/connect_test.mojom
diff --git a/mojo/shell/tests/connect/connect_test.mojom b/mojo/shell/tests/connect/connect_test.mojom
index 2598f3e9364f38584bdc1d02773d6d9d61c95a3d..ba298654ab37e7dbf777cc6ed22175b9ad9dc38b 100644
--- a/mojo/shell/tests/connect/connect_test.mojom
+++ b/mojo/shell/tests/connect/connect_test.mojom
@@ -9,25 +9,12 @@
GetInstance() => (string instance);
};
-interface ClassInterface {
- Ping() => (string response);
-};
-
-// Interface implemented by a standalone (non-package) app,
-// mojo:connect_test_app.
+// Interface implemented by a standalone (non-package) app.
interface StandaloneApp {
// Attempts to connect to an application whose name is explicitly allowed by
- // the standalone app's CapabilitySpec, but whose enclosing package is not.
+ // the standalone app's CapabilityFilter, but whose enclosing package is not.
// The connection should be blocked and title should be "uninitialized".
ConnectToAllowedAppInBlockedPackage() => (string title);
-
- // Connects to mojo:connect_test_class_app & requests ClassInterface from it.
- // This should be permitted because mojo:connect_test_app requests class
- // "class" from mojo:connect_test_class_app, which mojo:connect_test_class_app
- // defines as including ClassInterface.
- // The response contains the response from ClassInterface::Ping() and
- // ConnectTestService::GetTitle().
- ConnectToClassInterface() => (string class_interface_response, string title);
};
struct ConnectionState {
« no previous file with comments | « mojo/shell/tests/connect/BUILD.gn ('k') | mojo/shell/tests/connect/connect_test_app.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698