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

Unified Diff: mojo/services/test_service/test_request_tracker.mojom

Issue 687433002: Remove mojo/shell and (most) service implementations (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove mojo/gles2, disable mojo apps in component build Created 6 years, 2 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/services/test_service/BUILD.gn ('k') | mojo/services/test_service/test_request_tracker_application.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/services/test_service/test_request_tracker.mojom
diff --git a/mojo/services/test_service/test_request_tracker.mojom b/mojo/services/test_service/test_request_tracker.mojom
deleted file mode 100644
index a750031bf01086a86d961d0885afcace0d8681dc..0000000000000000000000000000000000000000
--- a/mojo/services/test_service/test_request_tracker.mojom
+++ /dev/null
@@ -1,43 +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.test {
-
-// Various counters that services can periodically send to a
-// TestTrackedRequestService for recording.
-struct ServiceStats {
- uint64 num_new_requests;
- double health;
-};
-
-// A per-service summary of all the ServiceStats the
-// TestTrackedRequestService has observed.
-struct ServiceReport {
- string? service_name;
- uint64 total_requests;
- double mean_health;
-};
-
-// A simple interface to obtain a "report" from all services that have
-// opted to connect themselves to for request tracking.
-interface TestTrackedRequestService {
- GetReport() => (array<ServiceReport?>? report);
-};
-
-// TestRequestTracker records ServiceStats for an individual service
-// connection for aggregation in a TestTrackedRequestService.
-[Client=TestRequestTrackerClient]
-interface TestRequestTracker {
- // Upload a ServiceStats for tracking.
- RecordStats(uint64 client_id, ServiceStats? stats);
-};
-
-// The client-side contract for uploading ServiceStats to TestRequestTracker.
-interface TestRequestTrackerClient {
- const uint64 kInvalidId = 0;
- // Handshake to tell the client its global identifier and get the name.
- SetIdAndReturnName(uint64 id) => (string? service_name);
-};
-
-} // module mojo.test
« no previous file with comments | « mojo/services/test_service/BUILD.gn ('k') | mojo/services/test_service/test_request_tracker_application.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698