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

Unified Diff: trunk/src/mojo/spy/public/spy.mojom

Issue 296453021: Revert 272458 "Adding more guts to the mojo spy." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 7 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 | « trunk/src/mojo/mojo.gyp ('k') | trunk/src/mojo/spy/spy.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/mojo/spy/public/spy.mojom
===================================================================
--- trunk/src/mojo/spy/public/spy.mojom (revision 272462)
+++ trunk/src/mojo/spy/public/spy.mojom (working copy)
@@ -1,50 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-module mojo.spy_api {
-
-enum Result {
- ALL_OK,
- INTERNAL_ERROR,
- INVALID_ID,
- NO_MORE_IDS,
- INVALID_CALL,
- INVALID_PARAMS,
- BAD_STATE,
- RESOURCE_LIMIT
-};
-
-struct Version {
- uint32 major;
- uint32 minor;
-};
-
-enum ConnectionOptions {
- SKIP,
- PAUSE,
- RESUME,
- PEEK_MESSAGES
-};
-
-struct Message {
- uint32 id;
- uint32 time;
- uint8[] data;
-};
-
-[Client=SpyClient]
-interface SpyServer {
- StartSession(Version version) => (Result result, string name);
- StopSession() => (Result result);
- TrackConnection(uint32 id, ConnectionOptions options) => (Result result);
-};
-
-interface SpyClient {
- OnFatalError(Result result);
- OnSessionEnd(Result result);
- OnClientConnection(string name, uint32 id, ConnectionOptions options);
- OnMessage(Message message);
-};
-
-}
« no previous file with comments | « trunk/src/mojo/mojo.gyp ('k') | trunk/src/mojo/spy/spy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698