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

Unified Diff: chromeos/dbus/debug_daemon_client.h

Issue 17210002: Connectivity Diagnostics API: chrome.diagnostics.sendPacket (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix build Created 7 years, 6 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
Index: chromeos/dbus/debug_daemon_client.h
diff --git a/chromeos/dbus/debug_daemon_client.h b/chromeos/dbus/debug_daemon_client.h
index 1ed02156777332ee71bd092eb565e3c439c30a9c..af332d5117eaa4c402e8934ed4c6bd295232684f 100644
--- a/chromeos/dbus/debug_daemon_client.h
+++ b/chromeos/dbus/debug_daemon_client.h
@@ -127,6 +127,13 @@ class CHROMEOS_EXPORT DebugDaemonClient {
virtual void TestICMP(const std::string& ip_address,
const TestICMPCallback& callback) = 0;
+ // Tests ICMP connectivity to a specified host. The |ip_address| contains the
+ // IPv4 or IPv6 address of the host, for example "8.8.8.8".
+ virtual void TestICMPWithOptions(
+ const std::string& ip_address,
+ const std::map<std::string, std::string>& options,
+ const TestICMPCallback& callback) = 0;
+
// Factory function, creates a new instance and returns ownership.
// For normal usage, access the singleton via DBusThreadManager::Get().
static DebugDaemonClient* Create(DBusClientImplementationType type,
« no previous file with comments | « chrome/common/extensions/permissions/permission_set_unittest.cc ('k') | chromeos/dbus/debug_daemon_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698