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

Side by Side Diff: mojo/services/test_service/test_request_tracker.mojom

Issue 687793004: mojom: Remove braces from module statements and make them come first. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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.test { 5 module mojo.test;
6 6
7 // Various counters that services can periodically send to a 7 // Various counters that services can periodically send to a
8 // TestTrackedRequestService for recording. 8 // TestTrackedRequestService for recording.
9 struct ServiceStats { 9 struct ServiceStats {
10 uint64 num_new_requests; 10 uint64 num_new_requests;
11 double health; 11 double health;
12 }; 12 };
13 13
14 // A per-service summary of all the ServiceStats the 14 // A per-service summary of all the ServiceStats the
15 // TestTrackedRequestService has observed. 15 // TestTrackedRequestService has observed.
(...skipping 16 matching lines...) Expand all
32 // Upload a ServiceStats for tracking. 32 // Upload a ServiceStats for tracking.
33 RecordStats(uint64 client_id, ServiceStats? stats); 33 RecordStats(uint64 client_id, ServiceStats? stats);
34 }; 34 };
35 35
36 // The client-side contract for uploading ServiceStats to TestRequestTracker. 36 // The client-side contract for uploading ServiceStats to TestRequestTracker.
37 interface TestRequestTrackerClient { 37 interface TestRequestTrackerClient {
38 const uint64 kInvalidId = 0; 38 const uint64 kInvalidId = 0;
39 // Handshake to tell the client its global identifier and get the name. 39 // Handshake to tell the client its global identifier and get the name.
40 SetIdAndReturnName(uint64 id) => (string? service_name); 40 SetIdAndReturnName(uint64 id) => (string? service_name);
41 }; 41 };
42
43 } // module mojo.test
OLDNEW
« no previous file with comments | « mojo/services/public/interfaces/window_manager2/window_manager2.mojom ('k') | mojo/services/test_service/test_service.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698