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

Unified Diff: chrome/browser/extensions/socket_api.h

Issue 8743017: Real (but naive) UDP socket sending. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Post-try-server fixes. Created 9 years 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.h
diff --git a/chrome/browser/extensions/socket_api.h b/chrome/browser/extensions/socket_api.h
deleted file mode 100644
index 4c22e01e19ac9963167f4e49055b945c09b19a80..0000000000000000000000000000000000000000
--- a/chrome/browser/extensions/socket_api.h
+++ /dev/null
@@ -1,67 +0,0 @@
-// 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.
-
-#ifndef CHROME_BROWSER_EXTENSIONS_SOCKET_API_H_
-#define CHROME_BROWSER_EXTENSIONS_SOCKET_API_H_
-#pragma once
-
-#include "chrome/browser/extensions/extension_function.h"
-
-namespace extensions {
-
-class SocketCreateFunction : public AsyncExtensionFunction {
- public:
- SocketCreateFunction();
- virtual ~SocketCreateFunction();
- virtual bool RunImpl() OVERRIDE;
-
- protected:
- void WorkOnIOThread();
- void RespondOnUIThread();
-
- DECLARE_EXTENSION_FUNCTION_NAME("experimental.socket.create")
-};
-
-class SocketConnectFunction : public AsyncExtensionFunction {
- public:
- SocketConnectFunction();
- virtual ~SocketConnectFunction();
- virtual bool RunImpl() OVERRIDE;
-
- protected:
- void WorkOnIOThread();
- void RespondOnUIThread();
-
- DECLARE_EXTENSION_FUNCTION_NAME("experimental.socket.connect")
-};
-
-class SocketDisconnectFunction : public AsyncExtensionFunction {
- public:
- SocketDisconnectFunction();
- virtual ~SocketDisconnectFunction();
- virtual bool RunImpl() OVERRIDE;
-
- protected:
- void WorkOnIOThread();
- void RespondOnUIThread();
-
- DECLARE_EXTENSION_FUNCTION_NAME("experimental.socket.disconnect")
-};
-
-class SocketSendFunction : public AsyncExtensionFunction {
- public:
- SocketSendFunction();
- virtual ~SocketSendFunction();
- virtual bool RunImpl() OVERRIDE;
-
- protected:
- void WorkOnIOThread();
- void RespondOnUIThread();
-
- DECLARE_EXTENSION_FUNCTION_NAME("experimental.socket.send")
-};
-
-} // namespace extensions
-
-#endif // CHROME_BROWSER_EXTENSIONS_SOCKET_API_H_

Powered by Google App Engine
This is Rietveld 408576698