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

Unified Diff: chrome/browser/extensions/socket_api_constants.cc

Issue 8743017: Real (but naive) UDP socket sending. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Initial. Created 9 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/extensions/socket_api_constants.cc
diff --git a/chrome/browser/extensions/socket_api_constants.cc b/chrome/browser/extensions/socket_api_constants.cc
new file mode 100644
index 0000000000000000000000000000000000000000..22161c332f473358d9515189824b6abd6135b272
--- /dev/null
+++ b/chrome/browser/extensions/socket_api_constants.cc
@@ -0,0 +1,18 @@
+// Copyright (c) 2011 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/socket_api_constants.h"
+
+namespace extensions {
+
+namespace socket_api_constants {
+
+const char kBytesWrittenKey[] = "bytesWritten";
+const char kSocketIdKey[] = "socketId";
+
+const char kUdpSocketType[] = "udp";
+
+} // namespace socket_api_constants
+
+} // namespace extensions

Powered by Google App Engine
This is Rietveld 408576698