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

Unified Diff: chrome/browser/extensions/api/diagnostics/send_ping_packet.cc

Issue 17210002: Connectivity Diagnostics API: chrome.diagnostics.sendPacket (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Change namespace name 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: chrome/browser/extensions/api/diagnostics/send_ping_packet.cc
diff --git a/chrome/browser/extensions/api/diagnostics/send_ping_packet.cc b/chrome/browser/extensions/api/diagnostics/send_ping_packet.cc
new file mode 100644
index 0000000000000000000000000000000000000000..31ce8cbee1b8c888ef0024d82829584272a37dfe
--- /dev/null
+++ b/chrome/browser/extensions/api/diagnostics/send_ping_packet.cc
@@ -0,0 +1,18 @@
+// Copyright (c) 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.
+
+#include "chrome/browser/extensions/api/diagnostics/send_ping_packet.h"
+
+namespace extensions {
+
+void SendPingPacket(
+ const std::string& ip,
+ const int* ttl,
+ const int* timeout,
+ const int* size,
+ const SendPingPacketCallback& callback) {
+ callback.Run(SEND_PING_PACKET_NOT_IMPLEMENTED, "", 0.0);
+}
+
+} // namespace extensions

Powered by Google App Engine
This is Rietveld 408576698