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

Unified Diff: chrome/common/extensions/api/diagnostics.idl

Issue 883703004: Move chrome.diagnostics API to extensions/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 5 years, 11 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 | « chrome/common/extensions/api/_permission_features.json ('k') | chrome/common/extensions/api/schemas.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/api/diagnostics.idl
diff --git a/chrome/common/extensions/api/diagnostics.idl b/chrome/common/extensions/api/diagnostics.idl
deleted file mode 100644
index 5f8f31d76aeec545280573d7f442b23006ac1d26..0000000000000000000000000000000000000000
--- a/chrome/common/extensions/api/diagnostics.idl
+++ /dev/null
@@ -1,37 +0,0 @@
-// Copyright 2013 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.
-
-// Use the <code>chrome.diagnostics</code> API to query various properties of
-// the environment that may be useful for diagnostics.
-namespace diagnostics {
- dictionary SendPacketOptions {
- // Target IP address.
- DOMString ip;
- // Packet time to live value. If omitted, the system default value will be
- // used.
- long? ttl;
- // Packet timeout in seconds. If omitted, the system default value will be
- // used.
- long? timeout;
- // Size of the payload. If omitted, the system default value will be used.
- long? size;
- };
-
- dictionary SendPacketResult {
- // The IP of the host which we receives the ICMP reply from.
- // The IP may differs from our target IP if the packet's ttl is used up.
- DOMString ip;
-
- // Latency in millisenconds.
- double latency;
- };
-
- callback SendPacketCallback = void(SendPacketResult result);
-
- interface Functions {
- // Send a packet of the given type with the given parameters.
- static void sendPacket(SendPacketOptions options,
- SendPacketCallback callback);
- };
-};
« no previous file with comments | « chrome/common/extensions/api/_permission_features.json ('k') | chrome/common/extensions/api/schemas.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698